diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-07 15:44:31 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-07 15:44:31 (GMT) |
commit | 3a984ad1d080d340903f346a5778047d60720cc0 (patch) | |
tree | ae820ff4007abe5a2e9df51efed98864a0e97dc5 /generic | |
parent | 054420d1e3b71ea9d657396bb42d92472b0d7e88 (diff) | |
parent | ee9722cf78769c35f57383613f570b6e797e74bf (diff) | |
download | tk-3a984ad1d080d340903f346a5778047d60720cc0.zip tk-3a984ad1d080d340903f346a5778047d60720cc0.tar.gz tk-3a984ad1d080d340903f346a5778047d60720cc0.tar.bz2 |
Get menu-32.8 and scale-19 fixes from 8.5.
Diffstat (limited to 'generic')
-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 516e9b0..354d329 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -1424,9 +1424,9 @@ DestroyMenuEntry( if (menuRefPtr->menuPtr == destroyThis) { menuRefPtr->menuPtr = NULL; } - if (destroyThis != NULL) { - TkDestroyMenu(destroyThis); - } + } + if (destroyThis != NULL) { + TkDestroyMenu(destroyThis); } } else { UnhookCascadeEntry(mePtr); |