diff options
author | fvogel <fvogelnew1@free.fr> | 2023-06-07 19:07:36 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2023-06-07 19:07:36 (GMT) |
commit | 143d74a54bbb2dc1ac035d8630b42fd38af6b8cc (patch) | |
tree | 954a93146638d26cfd15422452e88376272166c4 /generic/tkMenu.c | |
parent | a0d9703131628d169c2b9abcc842d058a3899a91 (diff) | |
download | tk-143d74a54bbb2dc1ac035d8630b42fd38af6b8cc.zip tk-143d74a54bbb2dc1ac035d8630b42fd38af6b8cc.tar.gz tk-143d74a54bbb2dc1ac035d8630b42fd38af6b8cc.tar.bz2 |
Ensure interp is passed to GetIndexFromCoords() instead of NULL (no idea why interp was changed into NULL in [abaa003d] in trunk only).
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r-- | generic/tkMenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c index 58489b3..6f75aca 100644 --- a/generic/tkMenu.c +++ b/generic/tkMenu.c @@ -2177,7 +2177,7 @@ GetMenuIndex( #endif if (string[0] == '@') { - if (GetIndexFromCoords(NULL, menuPtr, string, indexPtr) + if (GetIndexFromCoords(interp, menuPtr, string, indexPtr) == TCL_OK) { goto success; } |