0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.3.1204

Problem:    Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito
            Higashi)
Solution:   Don't always use goto_tabpage_tp().
This commit is contained in:
Bram Moolenaar
2013-06-16 14:18:28 +02:00
parent 4ce239b0b1
commit d69497413f
5 changed files with 42 additions and 13 deletions

View File

@@ -2706,7 +2706,7 @@ set_option_value_for(key, numval, stringval, opt_flags, opt_type, from)
{
case SREQ_WIN:
if (switch_win(&save_curwin, &save_curtab, (win_T *)from,
win_find_tabpage((win_T *)from)) == FAIL)
win_find_tabpage((win_T *)from), FALSE) == FAIL)
{
if (VimTryEnd())
return -1;
@@ -2714,7 +2714,7 @@ set_option_value_for(key, numval, stringval, opt_flags, opt_type, from)
return -1;
}
r = set_option_value_err(key, numval, stringval, opt_flags);
restore_win(save_curwin, save_curtab);
restore_win(save_curwin, save_curtab, FALSE);
if (r == FAIL)
return -1;
break;