Win32 fixes.

This commit is contained in:
Camilla Berglund
2013-06-12 19:57:55 +02:00
parent 35c386b7bb
commit 421810325a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
GLboolean _glfwPlatformIsSameMonitor(_GLFWmonitor* first, _GLFWmonitor* second)
{
return wcscmp(first->win32.name, second->win32.name);
return wcscmp(first->win32.name, second->win32.name) == 0;
}
void _glfwPlatformGetMonitorPos(_GLFWmonitor* monitor, int* xpos, int* ypos)