diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 984980324b0..c0caaf4daf2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -9723,7 +9723,7 @@ redisplay_tool_bar (f) | |||
| 9723 | border = 0; | 9723 | border = 0; |
| 9724 | 9724 | ||
| 9725 | rows = f->n_tool_bar_rows; | 9725 | rows = f->n_tool_bar_rows; |
| 9726 | height = (it.last_visible_y - border) / rows; | 9726 | height = max (1, (it.last_visible_y - border) / rows); |
| 9727 | extra = it.last_visible_y - border - height * rows; | 9727 | extra = it.last_visible_y - border - height * rows; |
| 9728 | 9728 | ||
| 9729 | while (it.current_y < it.last_visible_y) | 9729 | while (it.current_y < it.last_visible_y) |