diff src/video/x11/SDL_x11render.c @ 4624:b70b99ab75b8

Oops!
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Wed, 28 Jul 2010 15:35:18 +0530
parents 10175d54adf4
children 44fd1f0b895a
line wrap: on
line diff
--- 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;
     }