summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-06-07 19:07:36 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-06-07 19:07:36 (GMT)
commit143d74a54bbb2dc1ac035d8630b42fd38af6b8cc (patch)
tree954a93146638d26cfd15422452e88376272166c4
parenta0d9703131628d169c2b9abcc842d058a3899a91 (diff)
downloadtk-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).
-rw-r--r--generic/tkMenu.c2
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;
}