Commit 8974cc9f authored by Johan Bockgård's avatar Johan Bockgård
Browse files

* src/xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.

parent c160ddee
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment