diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-09 21:54:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-09 21:54:49 +0000 |
commit | c6fe919573e82727a7de014daab122ffc5001854 (patch) | |
tree | 237b3cac7ceeee2c16d574a99f1c37e9bd94ea53 /src/gui_w48.c | |
parent | 61660eadced09491ef8ee0a7d4af73cc75fdc349 (diff) |
updated for version 7.0c13v7.0c13
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index b940a27351..7592c7f714 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -1120,6 +1120,7 @@ gui_mch_set_text_area_pos(int x, int y, int w, int h) if (showing_tabline) { int top = 0; + RECT rect; #ifdef FEAT_TOOLBAR if (vim_strchr(p_go, GO_TOOLBAR) != NULL) @@ -2191,7 +2192,6 @@ show_tabline_popup_menu(void) MENUITEMINFO minfo; long rval; POINT pt; - char_u string[3]; tab_pmenu = CreatePopupMenu(); if (tab_pmenu == NULL) @@ -2236,13 +2236,7 @@ show_tabline_popup_menu(void) else idx += 1; - string[0] = CSI; - string[1] = KS_TABMENU; - string[2] = KE_FILLER; - add_to_input_buf(string, 3); - string[0] = idx; - string[1] = (char_u)(long)rval; - add_to_input_buf_csi(string, 2); + send_tabline_menu_event(idx, (int)rval); } } |