aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/Menu.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 29d60d4..b727588 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Menu.cc,v 1.7 2003/01/24 12:19:15 fluxgen Exp $ 25// $Id: Menu.cc,v 1.8 2003/02/03 13:41:19 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -140,7 +140,7 @@ Menu::Menu(MenuTheme &tm, int screen_num, ImageControl &imgctrl):
140Menu::~Menu() { 140Menu::~Menu() {
141 menu.window.hide(); 141 menu.window.hide();
142 142
143 if (shown && shown->windowID() == windowID()) 143 if (shown && shown->window() == window())
144 shown = (Menu *) 0; 144 shown = (Menu *) 0;
145 145
146 while (!menuitems.empty()) { 146 while (!menuitems.empty()) {