summaryrefslogtreecommitdiffstats
path: root/src/mark.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-04-29 09:02:44 +0000
committerBram Moolenaar <Bram@vim.org>2009-04-29 09:02:44 +0000
commitbd1e5d2e1d74e5c0a2543e87da42603b00589ebc (patch)
treec5e410c40fd5a9103e1d1b03b854fec811988496 /src/mark.c
parentf242762d0d04c69c75215c05e6b6cd47df227dea (diff)
updated for version 7.2-161v7.2.161
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mark.c b/src/mark.c
index 3dddad65d5..03b9f98976 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -1023,6 +1023,9 @@ mark_adjust(line1, line2, amount, amount_after)
int fnum = curbuf->b_fnum;
linenr_T *lp;
win_T *win;
+#ifdef FEAT_WINDOWS
+ tabpage_T *tab;
+#endif
if (line2 < line1 && amount_after == 0L) /* nothing to do */
return;
@@ -1064,7 +1067,7 @@ mark_adjust(line1, line2, amount, amount_after)
/* quickfix marks */
qf_mark_adjust(NULL, line1, line2, amount, amount_after);
/* location lists */
- FOR_ALL_WINDOWS(win)
+ FOR_ALL_TAB_WINDOWS(tab, win)
qf_mark_adjust(win, line1, line2, amount, amount_after);
#endif
@@ -1086,7 +1089,7 @@ mark_adjust(line1, line2, amount, amount_after)
/*
* Adjust items in all windows related to the current buffer.
*/
- FOR_ALL_WINDOWS(win)
+ FOR_ALL_TAB_WINDOWS(tab, win)
{
#ifdef FEAT_JUMPLIST
if (!cmdmod.lockmarks)