changeset 83528:a43b5a268ea1

Fix compilation error in lwlib/xlwmenu.c. * lwlib/xlwmenu.c (XlwMenuRealize): Fix x_catch_errors and x_uncatch_errors invocation. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-568
author Karoly Lorentey <lorentey@elte.hu>
date Wed, 24 May 2006 12:14:26 +0000
parents c44562301a11
children 0d9e16eab053
files lwlib/xlwmenu.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/xlwmenu.c	Wed May 24 09:13:31 2006 +0000
+++ b/lwlib/xlwmenu.c	Wed May 24 12:14:26 2006 +0000
@@ -1824,11 +1824,11 @@
      frame on a display.  I can not find their reason, but they are
      annoying so for now let's ignore any errors here.  -- lorentey  */
 #ifdef emacs
-  count = x_catch_errors (XtDisplay (w));
+  x_catch_errors (XtDisplay (w));
 #endif
   XChangeWindowAttributes (XtDisplay (w), XtWindow (w), mask, &xswa);
 #ifdef emacs
-  x_uncatch_errors (XtDisplay (w), count);
+  x_uncatch_errors ();
 #endif
 
   mw->menu.windows [0].window = XtWindow (w);