Fixed crash on Win8 (Thanks to @skrebbel for reporting it)
This commit is contained in:
parent
902a888fbc
commit
9a0873aec4
@ -165,7 +165,9 @@ bool createWindow(const wchar_t* title, int width, int height)
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Editor_create();
|
||||
|
||||
getRecentFiles();
|
||||
Window_buildMenu();
|
||||
Window_populateRecentList(Editor_getRecentFiles());
|
||||
@ -173,7 +175,6 @@ bool createWindow(const wchar_t* title, int width, int height)
|
||||
ShowWindow(s_window, SW_SHOW);
|
||||
SetForegroundWindow(s_window);
|
||||
SetFocus(s_window);
|
||||
Editor_create();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user