mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* src/xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
This commit is contained in:
parent
c160ddee1b
commit
8974cc9fd1
@ -1,3 +1,7 @@
|
||||
2011-07-10 Johan Bockgård <bojohan@gnu.org>
|
||||
|
||||
* xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
|
||||
|
||||
2011-07-10 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* xmenu.c (menu_highlight_callback): Only pass frame to show_help_event
|
||||
|
@ -10509,7 +10509,7 @@ DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed,
|
||||
f = XFRAME (frame);
|
||||
|
||||
if (WINDOWP (f->tool_bar_window)
|
||||
|| (w = XWINDOW (f->tool_bar_window),
|
||||
&& (w = XWINDOW (f->tool_bar_window),
|
||||
WINDOW_TOTAL_LINES (w) > 0))
|
||||
{
|
||||
update_tool_bar (f, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user