From 4914fd6842a112ece07afe6b3b5c12106340a5cf Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 8 Sep 2010 16:51:53 +0200 Subject: [PATCH] Formatting (no code changes). --- lib/fullscreen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/fullscreen.c b/lib/fullscreen.c index 97cf3368..b050658b 100644 --- a/lib/fullscreen.c +++ b/lib/fullscreen.c @@ -56,10 +56,10 @@ GLFWAPI int glfwGetVideoModes(GLFWvidmode* list, int maxcount) swap = 0; for (i = 0; i < count - 1; i++) { - res1 = list[i].width*list[i].height; - depth1 = list[i].redBits+list[i].greenBits+list[i].blueBits; - res2 = list[i + 1].width*list[i + 1].height; - depth2 = list[i + 1].redBits+list[i + 1].greenBits+ + res1 = list[i].width * list[i].height; + depth1 = list[i].redBits + list[i].greenBits + list[i].blueBits; + res2 = list[i + 1].width * list[i + 1].height; + depth2 = list[i + 1].redBits + list[i + 1].greenBits + list[i + 1].blueBits; if ((depth2 < depth1) || ((depth2 == depth1) && (res2 < res1)))