# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1320150093 0 # Node ID b8f6e7dd45442c1eda5370d2faa7a23fd54f192c # Parent 40d62db77c90e38ba06ee753b858156c80de35fd Set dw_file_browse() initial directory to . on Windows unless... overridden by the defpath with path or filename and path. diff -r 40d62db77c90 -r b8f6e7dd4544 win/dw.c --- 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)