Commit eeb4f710 authored by Richard M. Stallman's avatar Richard M. Stallman

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

parent 1b5d98bb
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment