diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-18 21:55:01 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-18 21:55:01 +0000 |
commit | c1e37901fc8486c9960d7290e521ba51e292e94b (patch) | |
tree | 5367e8f83d9d313dd73c0499fd310f57df5e605f /src/gui_gtk_x11.c | |
parent | a93fa7ee7856b54d3778e613c7b7e4b76aaeb2af (diff) | |
download | vim-git-c1e37901fc8486c9960d7290e521ba51e292e94b.tar.gz |
updated for version 7.0e02v7.0e02
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 9eb85ce14..23318bb7a 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -3293,6 +3293,7 @@ gui_mch_update_tabline(void) tabpage_T *tp; int nr = 0; int curtabidx = 0; + char_u *labeltext; if (gui.tabline == NULL) return; @@ -3320,8 +3321,10 @@ gui_mch_update_tabline(void) } get_tabline_label(tp); + labeltext = CONVERT_TO_UTF8(NameBuff); gtk_notebook_set_tab_label_text(GTK_NOTEBOOK(gui.tabline), page, - (const gchar *)NameBuff); + (const gchar *)labeltext); + CONVERT_TO_UTF8_FREE(labeltext); } /* Remove any old labels. */ |