Stop Windows platform from crashing when creating a new window
Empty app names can happen? Since when?
This commit is contained in:
parent
cddb50c4d6
commit
b1fcacdf2b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ int defaultWidth, defaultHeight;
|
||||||
|
|
||||||
bool shouldConfineMouse = false;
|
bool shouldConfineMouse = false;
|
||||||
|
|
||||||
const wchar_t CLASS_NAME[] = L"@APP_NAME@";
|
const wchar_t CLASS_NAME[] = L"PrismApp";
|
||||||
|
|
||||||
wchar_t* convertToUnicode(const char* str) {
|
wchar_t* convertToUnicode(const char* str) {
|
||||||
size_t ret = 0;
|
size_t ret = 0;
|
||||||
|
|
Reference in a new issue