Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Oops!
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyps committed Jul 28, 2010
1 parent d428ade commit c2a2be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/x11/SDL_x11render.c
Expand Up @@ -204,7 +204,7 @@ CheckXRender(Display *display, int *major, int *minor)
return SDL_FALSE;
}

if (major != 0 || minor < 10) {
if (*major != 0 || *minor < 10) {
return SDL_FALSE;
}

Expand Down Expand Up @@ -234,7 +234,7 @@ CheckXFixes(Display *display, int *major, int *minor)
return SDL_FALSE;
}

if (major < 2) {
if (*major < 2) {
return SDL_FALSE;
}

Expand Down

0 comments on commit c2a2be5

Please sign in to comment.