diff options
| -rw-r--r-- | lwlib/xlwmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
| 1813 | 1813 | ||
| 1814 | redisplay = True; | 1814 | redisplay = True; |
| 1815 | 1815 | ||
| 1816 | if (XtIsRealized (oldmw)) | 1816 | if (XtIsRealized (current)) |
| 1817 | /* If the menu is currently displayed, change the display. */ | 1817 | /* If the menu is currently displayed, change the display. */ |
| 1818 | for (i = 0; i < oldmw->menu.windows_length; i++) | 1818 | for (i = 0; i < oldmw->menu.windows_length; i++) |
| 1819 | { | 1819 | { |