Browse Source

Ensure correct window titles on unicode compiles on Windows

inmarket 3 years ago
parent
commit
97511a9fc7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/multiple/Win32/gdisp_lld_Win32.c

+ 1 - 1
drivers/multiple/Win32/gdisp_lld_Win32.c

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