1
0
forked from aniani/vim

updated for version 7.2-048

This commit is contained in:
Bram Moolenaar
2008-11-20 15:12:02 +00:00
parent 0300597f4c
commit 8df74be587
4 changed files with 27 additions and 6 deletions

View File

@@ -18146,14 +18146,17 @@ get_vim_var_list(idx)
}
/*
* Set v:count, v:count1 and v:prevcount.
* Set v:count to "count" and v:count1 to "count1".
* When "set_prevcount" is TRUE first set v:prevcount from v:count.
*/
void
set_vcount(count, count1)
set_vcount(count, count1, set_prevcount)
long count;
long count1;
int set_prevcount;
{
vimvars[VV_PREVCOUNT].vv_nr = vimvars[VV_COUNT].vv_nr;
if (set_prevcount)
vimvars[VV_PREVCOUNT].vv_nr = vimvars[VV_COUNT].vv_nr;
vimvars[VV_COUNT].vv_nr = count;
vimvars[VV_COUNT1].vv_nr = count1;
}