From d9248a3e7b36df2683c2bb275453821924bbb93e Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Thu, 22 Sep 2016 12:00:21 -0700 Subject: [PATCH] Stop github thinking this is Mathematica --- src/cocoa_monitor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index 9a384b699..d95890ad8 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -331,7 +331,7 @@ GLFWvidmode* _glfwPlatformGetVideoModes(_GLFWmonitor* monitor, int* count) if (i < *count) continue; - (*count)++; + *count++; result[*count - 1] = mode; }