diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-28 11:24:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-28 11:24:03 (GMT) |
commit | 389232d83af4ed09331f33a3eb217b28aa5b0d80 (patch) | |
tree | 65123df923e2cd33f1a897da5b4a37c2e704270f /win/tkWinDialog.c | |
parent | 0de9e7c313ad8508a10b915e34dd00c65618c794 (diff) | |
download | tk-389232d83af4ed09331f33a3eb217b28aa5b0d80.zip tk-389232d83af4ed09331f33a3eb217b28aa5b0d80.tar.gz tk-389232d83af4ed09331f33a3eb217b28aa5b0d80.tar.bz2 |
Convert all Tcl_SetResult calls to Tcl_SetObjResult calls.
Convert Tcl_GetStringFromObj to Tcl_GetString when possible.
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r-- | win/tkWinDialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index 069247e..3b1351e 100644 --- a/win/tkWinDialog.c +++ b/win/tkWinDialog.c @@ -1134,7 +1134,7 @@ MakeFilter( FileFilter *filterPtr; if (initialPtr) { - initial = Tcl_GetStringFromObj(initialPtr, NULL); + initial = Tcl_GetString(initialPtr); } TkInitFileFilters(&flist); if (TkGetFileFilters(interp, &flist, valuePtr, 1) != TCL_OK) { |