Win32: Fix calls to encoding compatibility macros

Calls to Unicode specific functions should be made explicit.

(cherry picked from commit 8ff9ed92b4)
This commit is contained in:
Camilla Löwy
2022-03-08 23:45:53 +01:00
parent 541b151cff
commit d1269c1b7d
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -382,7 +382,7 @@ void _glfwPlatformGetMonitorWorkarea(_GLFWmonitor* monitor,
int* width, int* height)
{
MONITORINFO mi = { sizeof(mi) };
GetMonitorInfo(monitor->win32.handle, &mi);
GetMonitorInfoW(monitor->win32.handle, &mi);
if (xpos)
*xpos = mi.rcWork.left;