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:
parent
51446987ae
commit
6e33e6f097
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue