Archived
1
Fork 0

Stop Windows platform from crashing when creating a new window

Empty app names can happen? Since when?
This commit is contained in:
redstrate 2020-12-28 15:33:11 -05:00
parent cddb50c4d6
commit b1fcacdf2b

View file

@ -29,7 +29,7 @@ int defaultWidth, defaultHeight;
bool shouldConfineMouse = false;
const wchar_t CLASS_NAME[] = L"@APP_NAME@";
const wchar_t CLASS_NAME[] = L"PrismApp";
wchar_t* convertToUnicode(const char* str) {
size_t ret = 0;