aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 62211e3890c..15f950c5e77 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -7460,6 +7460,11 @@ redisplay_tool_bar (f)
7460 if (auto_resize_tool_bars_p) 7460 if (auto_resize_tool_bars_p)
7461 { 7461 {
7462 int nlines; 7462 int nlines;
7463
7464 /* If we couldn't display everything, change the tool-bar's
7465 height. */
7466 if (IT_STRING_CHARPOS (it) < it.end_charpos)
7467 change_height_p = 1;
7463 7468
7464 /* If there are blank lines at the end, except for a partially 7469 /* If there are blank lines at the end, except for a partially
7465 visible blank line at the end that is smaller than 7470 visible blank line at the end that is smaller than