summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}