summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-11-07 15:44:31 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-11-07 15:44:31 (GMT)
commit3a984ad1d080d340903f346a5778047d60720cc0 (patch)
treeae820ff4007abe5a2e9df51efed98864a0e97dc5 /generic/tkMenu.c
parent054420d1e3b71ea9d657396bb42d92472b0d7e88 (diff)
parentee9722cf78769c35f57383613f570b6e797e74bf (diff)
downloadtk-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/tkMenu.c')
-rw-r--r--generic/tkMenu.c6
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);