summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-21 12:04:55 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-21 12:04:55 +0200
commitc6af8125c7593b3ca104bf1feac0d814fe76d92d (patch)
treeaee5f5129d4f8a45b6b5dba2b33fe792b594b07b /src/window.c
parent218116c1d0bacf1bceb93699258c23308617b43c (diff)
downloadvim-git-c6af8125c7593b3ca104bf1feac0d814fe76d92d.tar.gz
Other solution for GTK not changing the locale.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index cc114ccad..907101295 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3775,6 +3775,9 @@ goto_tabpage(n)
goto_tabpage_tp(tp)
tabpage_T *tp;
{
+ /* Don't repeat a message in another tab page. */
+ set_keep_msg(NULL, 0);
+
if (tp != curtab && leave_tabpage(tp->tp_curwin->w_buffer) == OK)
{
if (valid_tabpage(tp))