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)
commit0b9e60051d8b56808f7674686838055b264485f1 (patch)
tree94a7466233e7a73007acc61a138d2a1b04aafeca /win
parent5da102f8bd2f7296a1786f951e0aedf27941ccb5 (diff)
downloadtk-0b9e60051d8b56808f7674686838055b264485f1.zip
tk-0b9e60051d8b56808f7674686838055b264485f1.tar.gz
tk-0b9e60051d8b56808f7674686838055b264485f1.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);