1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-22 18:28:52 -05:00

Fixed invalid pointer use.

This commit is contained in:
Camilla Berglund 2013-05-29 22:35:58 +02:00
parent e991a0e7cc
commit 525b4151f0

View File

@ -103,7 +103,7 @@ static void list_modes(GLFWmonitor* monitor)
{
printf("%3u: %s", (unsigned int) i, format_mode(modes + i));
if (memcmp(&mode, modes + i, sizeof(GLFWvidmode)) == 0)
if (memcmp(mode, modes + i, sizeof(GLFWvidmode)) == 0)
printf(" (current mode)");
putchar('\n');