Oops!
authorSunny Sachanandani <sunnysachanandani@gmail.com>
Wed, 28 Jul 2010 15:35:18 +0530
changeset 4624 b70b99ab75b8
parent 4623 10175d54adf4
child 4625 1c562caa9123
child 4629 44fd1f0b895a
Oops!
src/video/x11/SDL_x11render.c
--- a/src/video/x11/SDL_x11render.c	Wed Jul 28 15:33:28 2010 +0530
+++ b/src/video/x11/SDL_x11render.c	Wed Jul 28 15:35:18 2010 +0530
@@ -204,7 +204,7 @@
         return SDL_FALSE;
     }
 
-    if (major != 0 || minor < 10) {
+    if (*major != 0 || *minor < 10) {
         return SDL_FALSE;
     }
 
@@ -234,7 +234,7 @@
         return SDL_FALSE;
     }
 
-    if (major < 2) {
+    if (*major < 2) {
         return SDL_FALSE;
     }