#BUGFIX
authorClaus Gittinger <cg@exept.de>
Fri, 01 Apr 2016 12:11:18 +0200
changeset 16228 b65ce693d0e6
parent 16227 be844d752234
child 16229 09278ae8faed
#BUGFIX class: Win32FileDialog changed: #fillStruct
Win32FileDialog.st
--- a/Win32FileDialog.st	Fri Apr 01 11:33:43 2016 +0200
+++ b/Win32FileDialog.st	Fri Apr 01 12:11:18 2016 +0200
@@ -883,7 +883,7 @@
     |maxPath lpstrFileInOut|
 
     maxPath := 1024.
-    lpstrFileInOut := ExternalBytes new:maxPath.
+    lpstrFileInOut := lpstrFile := ExternalBytes new:maxPath.
     lpstrFileInOut replaceFrom:1 to:fileName size with:fileName startingAt:1.
 
     lpstrFilter := ExternalBytes newNullTerminatedFromString: self filters.