emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xdisp.c


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Thu, 11 May 2006 21:26:54 +0000

Index: emacs/src/xdisp.c
diff -u emacs/src/xdisp.c:1.1096 emacs/src/xdisp.c:1.1097
--- emacs/src/xdisp.c:1.1096    Fri May  5 11:56:31 2006
+++ emacs/src/xdisp.c   Thu May 11 21:26:54 2006
@@ -9723,7 +9723,7 @@
        border = 0;
 
       rows = f->n_tool_bar_rows;
-      height = (it.last_visible_y - border) / rows;
+      height = max (1, (it.last_visible_y - border) / rows);
       extra = it.last_visible_y - border - height * rows;
 
       while (it.current_y < it.last_visible_y)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]