From: Miles Bader Date: Mon, 4 Sep 2000 12:13:34 +0000 (+0000) Subject: (XlwMenuSetValues): Pass the correct pointer type to XtIsRealized. X-Git-Tag: emacs-pretest-21.0.90~1810 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=43aa2f1bef83891cc9500f7015f1cc2d27b4d4a1;p=emacs.git (XlwMenuSetValues): Pass the correct pointer type to XtIsRealized. --- diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 2239fb4b958..0d0ab35a1a2 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -1813,7 +1813,7 @@ XlwMenuSetValues (current, request, new) redisplay = True; - if (XtIsRealized (oldmw)) + if (XtIsRealized (current)) /* If the menu is currently displayed, change the display. */ for (i = 0; i < oldmw->menu.windows_length; i++) {