aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2007-05-15 23:06:27 +0000
committerJason Rumney2007-05-15 23:06:27 +0000
commitea7074b4013b3675a4ff2349475b03f3fbfbd2f7 (patch)
tree586f027a1fcf52274585983f3a817a5783b7a7f6
parent7e166218fc8d1d0571561937ba64c9cc1c0b5497 (diff)
downloademacs-ea7074b4013b3675a4ff2349475b03f3fbfbd2f7.tar.gz
emacs-ea7074b4013b3675a4ff2349475b03f3fbfbd2f7.zip
(display_menu_bar) [HAVE_NTGUI]: Check frame type.
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 42c579f5cbb..da2c0e7c7a0 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -16466,7 +16466,7 @@ display_menu_bar (w)
16466 16466
16467 /* Don't do all this for graphical frames. */ 16467 /* Don't do all this for graphical frames. */
16468#ifdef HAVE_NTGUI 16468#ifdef HAVE_NTGUI
16469 if (!NILP (Vwindow_system)) 16469 if (FRAME_W32_P (f))
16470 return; 16470 return;
16471#endif 16471#endif
16472#if defined (USE_X_TOOLKIT) || defined (USE_GTK) 16472#if defined (USE_X_TOOLKIT) || defined (USE_GTK)