OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
479ac19
)
Fix uninitialized variable
author
sdottaka
<none@none>
Tue, 12 Feb 2013 04:11:54 +0000
(20:11 -0800)
committer
sdottaka
<none@none>
Tue, 12 Feb 2013 04:11:54 +0000
(20:11 -0800)
Src/FileOrFolderSelect.cpp
patch
|
blob
|
history
diff --git
a/Src/FileOrFolderSelect.cpp
b/Src/FileOrFolderSelect.cpp
index
6f323d8
..
21b8bb6
100644
(file)
--- a/
Src/FileOrFolderSelect.cpp
+++ b/
Src/FileOrFolderSelect.cpp
@@
-82,7
+82,7
@@
BOOL SelectFile(HWND parent, String& path, LPCTSTR initialPath /*=NULL*/,
// This will tell common file dialog what to show
// and also this will hold its return value
- TCHAR sSelectedFile[MAX_PATH];
+ TCHAR sSelectedFile[MAX_PATH]
= {0}
;
// check if specified path is a file
if (initialPath && initialPath[0])