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 | 50857b1bcea0bdfa5aa237440ff5046b33600d96 (patch) | |
tree | 482851b9c098a0898e6b40bc0c1ce2f192554df5 /generic/tkMenu.c | |
parent | 8067434f8a2a55d874ed2ddb9cd2bfc6e20c3e01 (diff) | |
download | tk-50857b1bcea0bdfa5aa237440ff5046b33600d96.zip tk-50857b1bcea0bdfa5aa237440ff5046b33600d96.tar.gz tk-50857b1bcea0bdfa5aa237440ff5046b33600d96.tar.bz2 |
Restore test menu-32.8
Diffstat (limited to 'generic/tkMenu.c')
-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); |