0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0-124

This commit is contained in:
Bram Moolenaar
2006-10-10 10:55:47 +00:00
parent a1b5aa52c4
commit 69a7e43028
2 changed files with 12 additions and 12 deletions

View File

@@ -10431,8 +10431,6 @@ getwinvar(argvars, rettv, off)
rettv->vval.v_string = NULL;
if (win != NULL && varname != NULL)
{
if (*varname == '&') /* window-local-option */
{
/* Set curwin to be our win, temporarily. Also set curbuf, so
* that we can get buffer-local options. */
@@ -10440,12 +10438,8 @@ getwinvar(argvars, rettv, off)
curwin = win;
curbuf = win->w_buffer;
if (*varname == '&') /* window-local-option */
get_option_tv(&varname, rettv, 1);
/* restore previous notion of curwin */
curwin = oldcurwin;
curbuf = curwin->w_buffer;
}
else
{
if (*varname == NUL)
@@ -10458,6 +10452,10 @@ getwinvar(argvars, rettv, off)
if (v != NULL)
copy_tv(&v->di_tv, rettv);
}
/* restore previous notion of curwin */
curwin = oldcurwin;
curbuf = curwin->w_buffer;
}
--emsg_off;

View File

@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
124,
/**/
123,
/**/