Mercurial > emacs
comparison src/xdisp.c @ 35357:bc6d69d139c6
(redisplay_tool_bar): Change tool bar's height when
not everything could be displayed.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 17 Jan 2001 12:59:47 +0000 |
parents | 7cf24bda5ab7 |
children | 1b5e3bc8ce89 |
comparison
equal
deleted
inserted
replaced
35356:cb956e663075 | 35357:bc6d69d139c6 |
---|---|
7458 w->must_be_updated_p = 1; | 7458 w->must_be_updated_p = 1; |
7459 | 7459 |
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 |
7466 CANON_Y_UNIT, change the tool-bar's height. */ | 7471 CANON_Y_UNIT, change the tool-bar's height. */ |
7467 row = it.glyph_row - 1; | 7472 row = it.glyph_row - 1; |