1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00

(redisplay_tool_bar): Change tool bar's height when

not everything could be displayed.
This commit is contained in:
Gerd Moellmann 2001-01-17 12:59:47 +00:00
parent 51446987ae
commit 6e33e6f097

View file

@ -7460,6 +7460,11 @@ redisplay_tool_bar (f)
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