Mercurial > emacs
changeset 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 | cb956e663075 |
children | a96d25a00f5b |
files | src/xdisp.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Wed Jan 17 12:07:03 2001 +0000 +++ b/src/xdisp.c Wed Jan 17 12:59:47 2001 +0000 @@ -7460,6 +7460,11 @@ if (auto_resize_tool_bars_p) { int nlines; + + /* If we couldn't display everything, change the tool-bar's + height. */ + if (IT_STRING_CHARPOS (it) < it.end_charpos) + change_height_p = 1; /* If there are blank lines at the end, except for a partially visible blank line at the end that is smaller than