]> git.eshelyaron.com Git - emacs.git/commitdiff
(XlwMenuSetValues): Pass the correct pointer type to XtIsRealized.
authorMiles Bader <miles@gnu.org>
Mon, 4 Sep 2000 12:13:34 +0000 (12:13 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 4 Sep 2000 12:13:34 +0000 (12:13 +0000)
lwlib/xlwmenu.c

index 2239fb4b9588675a9ca95f75640c395a978a5481..0d0ab35a1a23d4445fb589620ed2c83f35b2ba01 100644 (file)
@@ -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++)
          {