changeset 4624:b70b99ab75b8

Oops!
author Sunny Sachanandani <sunnysachanandani@gmail.com>
date Wed, 28 Jul 2010 15:35:18 +0530
parents 10175d54adf4
children 1c562caa9123 44fd1f0b895a
files src/video/x11/SDL_x11render.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;
     }