summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-11-28 20:29:07 +0000
committerBram Moolenaar <Bram@vim.org>2008-11-28 20:29:07 +0000
commitfe86f2d7cdb284f18543cac2e6cbbe11352c7f48 (patch)
tree9b8155ee2c3fe3142e4258590d210451db55db1f /src/fold.c
parenta40b46614a54de01a74d37a771db4dbfa44afee9 (diff)
downloadvim-git-fe86f2d7cdb284f18543cac2e6cbbe11352c7f48.tar.gz
updated for version 7.2-055v7.2.055
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fold.c b/src/fold.c
index b7b8ea744..1fe7c5a1d 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -48,7 +48,7 @@ static int checkCloseRec __ARGS((garray_T *gap, linenr_T lnum, int level));
static int foldFind __ARGS((garray_T *gap, linenr_T lnum, fold_T **fpp));
static int foldLevelWin __ARGS((win_T *wp, linenr_T lnum));
static void checkupdate __ARGS((win_T *wp));
-static void setFoldRepeat __ARGS((linenr_T lnum, long count, int open));
+static void setFoldRepeat __ARGS((linenr_T lnum, long count, int do_open));
static linenr_T setManualFold __ARGS((linenr_T lnum, int opening, int recurse, int *donep));
static linenr_T setManualFoldWin __ARGS((win_T *wp, linenr_T lnum, int opening, int recurse, int *donep));
static void foldOpenNested __ARGS((fold_T *fpr));
@@ -1241,10 +1241,10 @@ checkupdate(wp)
* Repeat "count" times.
*/
static void
-setFoldRepeat(lnum, count, open)
+setFoldRepeat(lnum, count, do_open)
linenr_T lnum;
long count;
- int open;
+ int do_open;
{
int done;
long n;
@@ -1252,7 +1252,7 @@ setFoldRepeat(lnum, count, open)
for (n = 0; n < count; ++n)
{
done = DONE_NOTHING;
- (void)setManualFold(lnum, open, FALSE, &done);
+ (void)setManualFold(lnum, do_open, FALSE, &done);
if (!(done & DONE_ACTION))
{
/* Only give an error message when no fold could be opened. */