Mercurial > vim
comparison src/mark.c @ 28247:f70015784777 v8.2.4649
patch 8.2.4649: various formatting problems
Commit: https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 30 10:57:45 2022 +0100
patch 8.2.4649: various formatting problems
Problem: Various formatting problems.
Solution: Improve the code formatting.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Mar 2022 12:00:05 +0200 |
parents | fb4c30606b4a |
children | 320991d9812e |
comparison
equal
deleted
inserted
replaced
28246:e3d6184b89fa | 28247:f70015784777 |
---|---|
1000 mark_adjust_internal(line1, line2, amount, amount_after, TRUE); | 1000 mark_adjust_internal(line1, line2, amount, amount_after, TRUE); |
1001 } | 1001 } |
1002 | 1002 |
1003 void | 1003 void |
1004 mark_adjust_nofold( | 1004 mark_adjust_nofold( |
1005 linenr_T line1, | 1005 linenr_T line1, |
1006 linenr_T line2, | 1006 linenr_T line2, |
1007 long amount, | 1007 long amount, |
1008 long amount_after) | 1008 long amount_after) |
1009 { | 1009 { |
1010 mark_adjust_internal(line1, line2, amount, amount_after, FALSE); | 1010 mark_adjust_internal(line1, line2, amount, amount_after, FALSE); |
1011 } | 1011 } |
1012 | 1012 |
1013 static void | 1013 static void |
1014 mark_adjust_internal( | 1014 mark_adjust_internal( |
1015 linenr_T line1, | 1015 linenr_T line1, |
1016 linenr_T line2, | 1016 linenr_T line2, |
1017 long amount, | 1017 long amount, |
1018 long amount_after, | 1018 long amount_after, |
1019 int adjust_folds UNUSED) | 1019 int adjust_folds UNUSED) |
1020 { | 1020 { |
1021 int i; | 1021 int i; |
1022 int fnum = curbuf->b_fnum; | 1022 int fnum = curbuf->b_fnum; |
1023 linenr_T *lp; | 1023 linenr_T *lp; |
1024 win_T *win; | 1024 win_T *win; |