Change win32_browser function

This commit is contained in:
twinaphex 2015-01-15 20:56:12 +01:00
parent a41f33fb63
commit d830ad38af

View File

@ -44,10 +44,10 @@ static bool win32_browser(HWND owner, char *filename, const char *extensions,
ofn.nMaxFile = PATH_MAX;
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
if (GetOpenFileName(&ofn))
return true;
if (!GetOpenFileName(&ofn))
return false;
return false;
return true;
}
LRESULT win32_menu_loop(HWND owner, WPARAM wparam)