summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-04-04 06:40:35 (GMT)
committerhobbs <hobbs>2001-04-04 06:40:35 (GMT)
commit25ad913e49c96649ccc018ec89930f86a4e9413c (patch)
tree14f999311f3d6817a02b04254c66e3a7f3280a72
parent5e861e31248ef16a9b4cb945391fbd74e2257f6a (diff)
downloadtk-25ad913e49c96649ccc018ec89930f86a4e9413c.zip
tk-25ad913e49c96649ccc018ec89930f86a4e9413c.tar.gz
tk-25ad913e49c96649ccc018ec89930f86a4e9413c.tar.bz2
win/tkWinDialog.c (GetFileNameA): initialize multi to 0.
-rw-r--r--win/tkWinDialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 70df639..08aaf10 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.19 2001/03/30 06:01:55 hobbs Exp $
+ * RCS: @(#) $Id: tkWinDialog.c,v 1.20 2001/04/04 06:40:35 hobbs Exp $
*
*/
@@ -954,7 +954,7 @@ GetFileNameA(clientData, interp, objc, objv, open)
{
OPENFILENAME ofn;
TCHAR file[TK_MULTI_MAX_PATH], savePath[MAX_PATH];
- int result, winCode, oldMode, i, multi;
+ int result, winCode, oldMode, i, multi = 0;
char *extension, *filter, *title;
Tk_Window tkwin;
HWND hWnd;