1
0
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:
Johan Bockgård 2011-07-10 23:49:05 +02:00
parent c160ddee1b
commit 8974cc9fd1
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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);