summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-14 13:48:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-14 13:48:03 (GMT)
commit50bba11de943e80fd387c0f5a04a67b1d4b17f39 (patch)
tree94a7466233e7a73007acc61a138d2a1b04aafeca /win
parent0685eee98b78605d4ff2e0dfc76c165c9ae589a4 (diff)
downloadtk-50bba11de943e80fd387c0f5a04a67b1d4b17f39.zip
tk-50bba11de943e80fd387c0f5a04a67b1d4b17f39.tar.gz
tk-50bba11de943e80fd387c0f5a04a67b1d4b17f39.tar.bz2
Replace various functions calls, for functions which are small wrappers around other functions, to call the wrapped function directly.
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c2
-rw-r--r--win/tkWinInit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 066e5fc..e22f520 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1963,7 +1963,7 @@ SetTkDialog(
char buf[32];
sprintf(buf, "0x%p", (HWND) clientData);
- Tcl_SetVar(tsdPtr->debugInterp, "tk_dialog", buf, TCL_GLOBAL_ONLY);
+ Tcl_SetVar2(tsdPtr->debugInterp, "tk_dialog", NULL, buf, TCL_GLOBAL_ONLY);
}
/*
diff --git a/win/tkWinInit.c b/win/tkWinInit.c
index 6535dba..a36ece4 100644
--- a/win/tkWinInit.c
+++ b/win/tkWinInit.c
@@ -70,7 +70,7 @@ TkpGetAppName(
int argc, namelength;
const char **argv = NULL, *name, *p;
- name = Tcl_GetVar(interp, "argv0", TCL_GLOBAL_ONLY);
+ name = Tcl_GetVar2(interp, "argv0", NULL, TCL_GLOBAL_ONLY);
namelength = -1;
if (name != NULL) {
Tcl_SplitPath(name, &argc, &argv);