(Win32) Properly set initial directory for menubar -> Load Core

This commit is contained in:
twinaphex 2019-08-20 22:50:40 +02:00
parent dde53fe682
commit 20a4b39272

View File

@ -117,7 +117,7 @@ static bool win32_browser(
* so this cast should be safe */
browser_state.filters = (char*)extensions;
browser_state.title = new_title;
browser_state.startdir = strdup("");
browser_state.startdir = strdup(initial_dir);
browser_state.path = new_file;
browser_state.window = owner;