diff options
| author | Eli Zaretskii | 2013-09-26 10:45:43 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-09-26 10:45:43 +0300 |
| commit | f573ac33a3299ae83d88f5c3a04cc1bc6f5c205a (patch) | |
| tree | 6fee902835469117180cf11586ed5571ef10c7b1 /src | |
| parent | b87c4ff2817e71ca71b028792200b1e069a95e04 (diff) | |
| download | emacs-f573ac33a3299ae83d88f5c3a04cc1bc6f5c205a.tar.gz emacs-f573ac33a3299ae83d88f5c3a04cc1bc6f5c205a.zip | |
Fix compilation problem due to merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/term.c b/src/term.c index 116a2e6bba1..775df1e9bc0 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2796,8 +2796,6 @@ static const char *menu_help_message, *prev_menu_help_message; | |||
| 2796 | last menu help message. */ | 2796 | last menu help message. */ |
| 2797 | static int menu_help_paneno, menu_help_itemno; | 2797 | static int menu_help_paneno, menu_help_itemno; |
| 2798 | 2798 | ||
| 2799 | static int menu_x, menu_y; | ||
| 2800 | |||
| 2801 | static Lisp_Object Qtty_menu_navigation_map, Qtty_menu_exit; | 2799 | static Lisp_Object Qtty_menu_navigation_map, Qtty_menu_exit; |
| 2802 | static Lisp_Object Qtty_menu_prev_item, Qtty_menu_next_item; | 2800 | static Lisp_Object Qtty_menu_prev_item, Qtty_menu_next_item; |
| 2803 | static Lisp_Object Qtty_menu_next_menu, Qtty_menu_prev_menu; | 2801 | static Lisp_Object Qtty_menu_next_menu, Qtty_menu_prev_menu; |
| @@ -3188,9 +3186,6 @@ read_menu_input (struct frame *sf, int *x, int *y, int min_y, int max_y, | |||
| 3188 | if (*first_time) | 3186 | if (*first_time) |
| 3189 | { | 3187 | { |
| 3190 | *first_time = false; | 3188 | *first_time = false; |
| 3191 | /* FIXME: Following 2 or 3 lines are temporary! */ | ||
| 3192 | menu_x = *x; | ||
| 3193 | menu_y = *y; | ||
| 3194 | sf->mouse_moved = 1; | 3189 | sf->mouse_moved = 1; |
| 3195 | return 0; | 3190 | return 0; |
| 3196 | } | 3191 | } |
| @@ -3257,8 +3252,6 @@ read_menu_input (struct frame *sf, int *x, int *y, int min_y, int max_y, | |||
| 3257 | sf->mouse_moved = 1; | 3252 | sf->mouse_moved = 1; |
| 3258 | Sleep (300); | 3253 | Sleep (300); |
| 3259 | #endif | 3254 | #endif |
| 3260 | menu_x = *x; | ||
| 3261 | menu_y = *y; | ||
| 3262 | return st; | 3255 | return st; |
| 3263 | } | 3256 | } |
| 3264 | return 0; | 3257 | return 0; |
| @@ -3595,7 +3588,7 @@ tty_menu_help_callback (char const *help_string, int pane, int item) | |||
| 3595 | Lisp_Object pane_name; | 3588 | Lisp_Object pane_name; |
| 3596 | Lisp_Object menu_object; | 3589 | Lisp_Object menu_object; |
| 3597 | 3590 | ||
| 3598 | first_item = XVECTOR (menu_items)->contents; | 3591 | first_item = XVECTOR (menu_items)->u.contents; |
| 3599 | if (EQ (first_item[0], Qt)) | 3592 | if (EQ (first_item[0], Qt)) |
| 3600 | pane_name = first_item[MENU_ITEMS_PANE_NAME]; | 3593 | pane_name = first_item[MENU_ITEMS_PANE_NAME]; |
| 3601 | else if (EQ (first_item[0], Qquote)) | 3594 | else if (EQ (first_item[0], Qquote)) |