Mercurial > dwindows
diff win/dw.c @ 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 | 4bc8b6ffbe1e |
children | ca02c24e80c9 |
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)