From 43aa2f1bef83891cc9500f7015f1cc2d27b4d4a1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 4 Sep 2000 12:13:34 +0000 Subject: [PATCH] (XlwMenuSetValues): Pass the correct pointer type to XtIsRealized. --- lwlib/xlwmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.39.2