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

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 12, 2010
1 parent 5a6774a commit 150a13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/x11/SDL_x11window.c
Expand Up @@ -289,9 +289,9 @@ X11_CreateWindow(_THIS, SDL_Window * window)
Sint32 r, g, b;

/* Is the colormap we need already registered in SDL? */
if (colormap =
if ((colormap =
X11_LookupColormap(data->display,
displaydata->screen, visual->visualid)) {
displaydata->screen, visual->visualid))) {
xattr.colormap = colormap;
/* printf("found existing colormap\n"); */
} else {
Expand Down

0 comments on commit 150a13c

Please sign in to comment.