diff options
| author | Miles Bader | 2000-09-04 12:13:34 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-09-04 12:13:34 +0000 |
| commit | 43aa2f1bef83891cc9500f7015f1cc2d27b4d4a1 (patch) | |
| tree | b1ede497724a2ba2a02d5d44f11af703f875bc30 | |
| parent | bb970e67218b241717e3539126ae8f88e950151c (diff) | |
| download | emacs-43aa2f1bef83891cc9500f7015f1cc2d27b4d4a1.tar.gz emacs-43aa2f1bef83891cc9500f7015f1cc2d27b4d4a1.zip | |
(XlwMenuSetValues): Pass the correct pointer type to XtIsRealized.
| -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 | { |