mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user