window: no_display in restore_win() is bool

This commit is contained in:
Jan Edmund Lazo
2018-08-07 11:40:52 -04:00
parent 1468946154
commit 2b229b816b
2 changed files with 6 additions and 8 deletions

View File

@@ -10236,8 +10236,8 @@ static void f_gettabvar(typval_T *argvars, typval_T *rettv, FunPtr fptr)
}
}
/* restore previous notion of curwin */
restore_win(oldcurwin, oldtabpage, TRUE);
// restore previous notion of curwin
restore_win(oldcurwin, oldtabpage, true);
}
if (!done && argvars[2].v_type != VAR_UNKNOWN) {