# HG changeset patch # User Karoly Lorentey # Date 1148472866 0 # Node ID a43b5a268ea11f52b459c0540f6062210327528a # Parent c44562301a118167d2c1216c900e54cb2dad1932 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 diff -r c44562301a11 -r a43b5a268ea1 lwlib/xlwmenu.c --- 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);