summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-03-12 11:23:53 +0000
committerBram Moolenaar <Bram@vim.org>2008-03-12 11:23:53 +0000
commit91d8e0c1944c9460511ff488877a96e942a29f3b (patch)
treeb0bfecc533bf1a997410c316689e57a8bf13f0a1
parent6ae909839f42f74d7e2af61fa896719b002f6ec0 (diff)
downloadvim-git-7.1.272.tar.gz
updated for version 7.1-272v7.1.272
-rw-r--r--src/buffer.c7
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 5aa69c588..0f0ce3177 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4912,7 +4912,7 @@ chk_modeline(lnum, flags)
return retval;
}
-#ifdef FEAT_VIMINFO
+#if defined(FEAT_VIMINFO) || defined(PROTO)
int
read_viminfo_bufferlist(virp, writing)
vir_T *virp;
@@ -5033,13 +5033,14 @@ buf_spname(buf)
#if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS)
if (bt_quickfix(buf))
{
- win_T *win;
+ win_T *win;
+ tabpage_T *tp;
/*
* For location list window, w_llist_ref points to the location list.
* For quickfix window, w_llist_ref is NULL.
*/
- FOR_ALL_WINDOWS(win)
+ FOR_ALL_TAB_WINDOWS(tp, win)
if (win->w_buffer == buf)
break;
if (win != NULL && win->w_llist_ref != NULL)
diff --git a/src/version.c b/src/version.c
index 780f6bff7..934af0d29 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 272,
+/**/
271,
/**/
270,