aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 020972edd2d..4aa8fa9c95c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-07-10 Johan Bockgård <bojohan@gnu.org>
2
3 * xdisp.c (Ftool_bar_lines_needed): Fix WINDOWP check.
4
12011-07-10 Jan Djärv <jan.h.d@swipnet.se> 52011-07-10 Jan Djärv <jan.h.d@swipnet.se>
2 6
3 * xmenu.c (menu_highlight_callback): Only pass frame to show_help_event 7 * xmenu.c (menu_highlight_callback): Only pass frame to show_help_event
diff --git a/src/xdisp.c b/src/xdisp.c
index 871317d86b8..a86cca86341 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -10509,7 +10509,7 @@ DEFUN ("tool-bar-lines-needed", Ftool_bar_lines_needed, Stool_bar_lines_needed,
10509 f = XFRAME (frame); 10509 f = XFRAME (frame);
10510 10510
10511 if (WINDOWP (f->tool_bar_window) 10511 if (WINDOWP (f->tool_bar_window)
10512 || (w = XWINDOW (f->tool_bar_window), 10512 && (w = XWINDOW (f->tool_bar_window),
10513 WINDOW_TOTAL_LINES (w) > 0)) 10513 WINDOW_TOTAL_LINES (w) > 0))
10514 { 10514 {
10515 update_tool_bar (f, 1); 10515 update_tool_bar (f, 1);