diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-07 14:49:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-07 14:49:31 (GMT) |
commit | 02d5fd0fca007479bbc8158ca9c323dbaeb8daee (patch) | |
tree | 482851b9c098a0898e6b40bc0c1ce2f192554df5 | |
parent | fcc39af8d8691cdcc0ce49efe09ad61b94da9ba0 (diff) | |
download | tk-02d5fd0fca007479bbc8158ca9c323dbaeb8daee.zip tk-02d5fd0fca007479bbc8158ca9c323dbaeb8daee.tar.gz tk-02d5fd0fca007479bbc8158ca9c323dbaeb8daee.tar.bz2 |
Restore test menu-32.8
-rw-r--r-- | generic/tkMenu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 3808b09..49b5935 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -1466,9 +1466,9 @@ DestroyMenuEntry( if (menuRefPtr->menuPtr == destroyThis) { menuRefPtr->menuPtr = NULL; } - if (destroyThis != NULL) { - TkDestroyMenu(destroyThis); - } + } + if (destroyThis != NULL) { + TkDestroyMenu(destroyThis); } } else { UnhookCascadeEntry(mePtr); |