From: Richard M. Stallman Date: Tue, 20 Jan 1998 08:54:36 +0000 (+0000) Subject: (display_menu_bar): Don't set maxendcol too large. X-Git-Tag: emacs-20.3~2385 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eeb4f710596af1e199cfea756f97da0a4c376b35;p=emacs.git (display_menu_bar): Don't set maxendcol too large. --- diff --git a/src/xdisp.c b/src/xdisp.c index 5b136771255..6b936a4d1f3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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;