Oops!
authorSunny Sachanandani
Wed, 28 Jul 2010 15:35:18 +0530
changeset 4624b70b99ab75b8
parent 4623 10175d54adf4
child 4625 1c562caa9123
child 4629 44fd1f0b895a
Oops!
src/video/x11/SDL_x11render.c
     1.1 --- a/src/video/x11/SDL_x11render.c	Wed Jul 28 15:33:28 2010 +0530
     1.2 +++ b/src/video/x11/SDL_x11render.c	Wed Jul 28 15:35:18 2010 +0530
     1.3 @@ -204,7 +204,7 @@
     1.4          return SDL_FALSE;
     1.5      }
     1.6  
     1.7 -    if (major != 0 || minor < 10) {
     1.8 +    if (*major != 0 || *minor < 10) {
     1.9          return SDL_FALSE;
    1.10      }
    1.11  
    1.12 @@ -234,7 +234,7 @@
    1.13          return SDL_FALSE;
    1.14      }
    1.15  
    1.16 -    if (major < 2) {
    1.17 +    if (*major < 2) {
    1.18          return SDL_FALSE;
    1.19      }
    1.20