From ae586e65d80adf88b09c5b7b7605381514e19624 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 2 Aug 2012 19:14:58 +0200 Subject: [PATCH] Fixed typo. --- src/cocoa_fullscreen.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa_fullscreen.m b/src/cocoa_fullscreen.m index e02cb2f2..bf58a930 100644 --- a/src/cocoa_fullscreen.m +++ b/src/cocoa_fullscreen.m @@ -215,7 +215,7 @@ GLFWvidmode* _glfwPlatformGetVideoModes(int* found) mode = (CGDisplayModeRef) CFArrayGetValueAtIndex(modes, i); if (modeIsGood(mode)) { - result[*found] vidmodeFromCGDisplayMode(mode); + result[*found] = vidmodeFromCGDisplayMode(mode); (*found)++; } }