changeset 1297:b8f6e7dd4544

Set dw_file_browse() initial directory to . on Windows unless... overridden by the defpath with path or filename and path.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 01 Nov 2011 12:21:33 +0000
parents 40d62db77c90
children 79db0563c7c2
files win/dw.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Tue Nov 01 11:55:18 2011 +0000
+++ b/win/dw.c	Tue Nov 01 12:21:33 2011 +0000
@@ -10256,6 +10256,7 @@
       of.hwndOwner = HWND_DESKTOP;
       of.hInstance = DWInstance;
       of.lpstrTitle = title;
+      of.lpstrInitialDir = ".";
       if(att != INVALID_FILE_ATTRIBUTES && (att & FILE_ATTRIBUTE_DIRECTORY))
         of.lpstrInitialDir = defpath;
       else if(defpath)