summaryrefslogtreecommitdiffstats
path: root/win/tkWinMenu.c
diff options
context:
space:
mode:
authorandreask <andreask>2012-08-30 17:54:43 (GMT)
committerandreask <andreask>2012-08-30 17:54:43 (GMT)
commitef16e014904e7f57528c142a49cbadcadabeb062 (patch)
tree90159d08145fe78d12c35e77c7e41ddad1438e47 /win/tkWinMenu.c
parent325d621602bb21c8eb57bb761ab637fda525fd61 (diff)
downloadtk-ef16e014904e7f57528c142a49cbadcadabeb062.zip
tk-ef16e014904e7f57528c142a49cbadcadabeb062.tar.gz
tk-ef16e014904e7f57528c142a49cbadcadabeb062.tar.bz2
Unbreak windows problems with commit [961ae24a3f] as well.
Diffstat (limited to 'win/tkWinMenu.c')
-rw-r--r--win/tkWinMenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 0955de1..26f08f4 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -335,7 +335,7 @@ TkpNewMenu(
if (winMenuHdl == NULL) {
Tcl_SetObjResult(menuPtr->interp, Tcl_NewStringObj(
"No more menus can be allocated.", -1));
- Tcl_SetErrorCode(interp, "TK", "MENU", "SYSTEM_RESOURCES", NULL);
+ Tcl_SetErrorCode(menuPtr->interp, "TK", "MENU", "SYSTEM_RESOURCES", NULL);
return TCL_ERROR;
}