From b56fce1570c3c8af72bb4adb4adfb620f4c5904d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 15 Dec 2015 22:35:51 +0100 Subject: [PATCH] Fix typo Fixes regression cased by 10c0eb648a55c3262aa0223f89ce049e6c028473. --- src/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitor.c b/src/monitor.c index 0d13a0c7..f9ab7b0d 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -39,7 +39,7 @@ static int compareVideoModes(const void* fp, const void* sp) { const GLFWvidmode* fm = fp; - const GLFWvidmode* sm = fp; + const GLFWvidmode* sm = sp; const int fbpp = fm->redBits + fm->greenBits + fm->blueBits; const int sbpp = sm->redBits + sm->greenBits + sm->blueBits; const int farea = fm->width * fm->height;