summaryrefslogtreecommitdiff
path: root/dialog_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-31 19:07:55 -0400
committerPietro Gagliardi <[email protected]>2014-08-31 19:07:55 -0400
commitc91cbf12b866301e0e26393e4d79fd798c435318 (patch)
tree29a98977ee3b90762b809547b992e9c08512f591 /dialog_windows.c
parent29a764199f1696bf1214ec0c1c30cf4b8eb807dc (diff)
Resolved TODO about OpenFile() on GTK+ returning NULL.
Diffstat (limited to 'dialog_windows.c')
-rw-r--r--dialog_windows.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dialog_windows.c b/dialog_windows.c
index f8ef687..90ee642 100644
--- a/dialog_windows.c
+++ b/dialog_windows.c
@@ -29,6 +29,7 @@ static DWORD WINAPI doOpenFile(LPVOID data)
ofn.lpstrInitialDir = NULL; // let system decide
ofn.lpstrTitle = NULL; // let system decide
// TODO OFN_SHAREAWARE?
+ // better question: TODO keep networking?
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_FORCESHOWHIDDEN | OFN_HIDEREADONLY | OFN_LONGNAMES | OFN_NOCHANGEDIR | OFN_NODEREFERENCELINKS | OFN_NOTESTFILECREATE | OFN_PATHMUSTEXIST;
if (GetOpenFileNameW(&ofn) == FALSE) {
err = CommDlgExtendedError();