1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00

(display_menu_bar): Don't set maxendcol too large.

This commit is contained in:
Richard M. Stallman 1998-01-20 08:54:36 +00:00
parent 1b5d98bba7
commit eeb4f71059

View file

@ -4062,7 +4062,7 @@ display_menu_bar (w)
Lisp_Object items, tail;
register int vpos = 0;
register FRAME_PTR f = XFRAME (WINDOW_FRAME (w));
int maxendcol = FRAME_WIDTH (f) + WINDOW_LEFT_MARGIN (w);
int maxendcol = FRAME_WIDTH (f);
int hpos = 0;
int i;