From 25ad913e49c96649ccc018ec89930f86a4e9413c Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 4 Apr 2001 06:40:35 +0000 Subject: win/tkWinDialog.c (GetFileNameA): initialize multi to 0. --- win/tkWinDialog.c | 4 ++-- 1 file 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; -- cgit v0.12