Ensure correct window titles on unicode compiles on Windows
This commit is contained in:
parent
9b73187100
commit
97511a9fc7
@ -887,7 +887,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
sprintf(buf, APP_NAME " - %u", g->systemdisplay+1);
|
sprintf(buf, APP_NAME " - %u", g->systemdisplay+1);
|
||||||
SetWindowText(priv->hwnd, buf);
|
SetWindowTextA(priv->hwnd, buf);
|
||||||
ShowWindow(priv->hwnd, SW_SHOW);
|
ShowWindow(priv->hwnd, SW_SHOW);
|
||||||
UpdateWindow(priv->hwnd);
|
UpdateWindow(priv->hwnd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user