HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge from emacs--devo--0
[bpt/emacs.git]
/
src
/
xdisp.c
diff --git
a/src/xdisp.c
b/src/xdisp.c
index
b1404d9
..
0ee3b19
100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-9829,7
+9829,7
@@
redisplay_tool_bar (f)
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)