Ensure correct window titles on unicode compiles on Windows

release/v2.9
inmarket 2017-06-30 19:44:38 +10:00
parent 9b73187100
commit 97511a9fc7
1 changed files with 1 additions and 1 deletions

View File

@ -887,7 +887,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
#endif
sprintf(buf, APP_NAME " - %u", g->systemdisplay+1);
SetWindowText(priv->hwnd, buf);
SetWindowTextA(priv->hwnd, buf);
ShowWindow(priv->hwnd, SW_SHOW);
UpdateWindow(priv->hwnd);