summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-07-11 22:42:40 (GMT)
committerhobbs <hobbs>2002-07-11 22:42:40 (GMT)
commit6501cfee251537a0baebe03094d48ade46cdb49d (patch)
treef7a4c099747d25d9aa2560e1bf3ff15511122ac8 /win/tkWinDialog.c
parent654d69ee7dc6bb0c286f977985f0d43152f11e86 (diff)
downloadtk-6501cfee251537a0baebe03094d48ade46cdb49d.zip
tk-6501cfee251537a0baebe03094d48ade46cdb49d.tar.gz
tk-6501cfee251537a0baebe03094d48ade46cdb49d.tar.bz2
* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initialize
utfTitle to NULL, add a few more notes about limitations of possible new Tk_ChooseDirectoryObjCmd function.
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index e75d18b..6669b09 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinDialog.c,v 1.26 2002/04/12 07:18:49 hobbs Exp $
+ * RCS: @(#) $Id: tkWinDialog.c,v 1.27 2002/07/11 22:42:40 hobbs Exp $
*
*/
@@ -1627,8 +1627,12 @@ New Behaviour:
held open to allow further modification by the user.
- Not sure how to implement localization of message prompts.
+
+- -title is really -message.
ToDo:
- Fix bugs.
+- test to see what platforms this really works on. May require v4.71
+ of shell32.dll everywhere (what is standard?).
*
*/
int
@@ -1663,11 +1667,12 @@ Tk_ChooseDirectoryObjCmd(clientData, interp, objc, objv)
/*
* Initialize
*/
- result = TCL_ERROR;
- path[0] = '\0';
+ result = TCL_ERROR;
+ path[0] = '\0';
+ utfTitle = NULL;
ZeroMemory(&cdCBData, sizeof(CHOOSEDIRDATA));
- cdCBData.interp = interp;
+ cdCBData.interp = interp;
tkwin = (Tk_Window) clientData;
/*