Browse Source

Ensure correct window titles on unicode compiles on Windows

remotes/origin_old/release/v2.9
inmarket 5 years ago
parent
commit
97511a9fc7
  1. 2
      drivers/multiple/Win32/gdisp_lld_Win32.c

2
drivers/multiple/Win32/gdisp_lld_Win32.c

@ -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);

Loading…
Cancel
Save