summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-04-04 06:40:35 (GMT)
committerhobbs <hobbs>2001-04-04 06:40:35 (GMT)
commit1c43900074370cd7379485c0b5e83e3c13aa4c8a (patch)
tree14f999311f3d6817a02b04254c66e3a7f3280a72 /win/tkWinDialog.c
parentdf11532c8e739e320da4ecdab122c02e8f40575a (diff)
downloadtk-1c43900074370cd7379485c0b5e83e3c13aa4c8a.zip
tk-1c43900074370cd7379485c0b5e83e3c13aa4c8a.tar.gz
tk-1c43900074370cd7379485c0b5e83e3c13aa4c8a.tar.bz2
win/tkWinDialog.c (GetFileNameA): initialize multi to 0.
Diffstat (limited to 'win/tkWinDialog.c')
-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;