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 | f5cd036029ec84c3e42c672341d77ca013afbc71 (patch) | |
tree | 65123df923e2cd33f1a897da5b4a37c2e704270f /win/tkWinDialog.c | |
parent | 13e6c44129865089d8680474141354555450ae04 (diff) | |
download | tk-f5cd036029ec84c3e42c672341d77ca013afbc71.zip tk-f5cd036029ec84c3e42c672341d77ca013afbc71.tar.gz tk-f5cd036029ec84c3e42c672341d77ca013afbc71.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) { |