Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compiler warning

  • Loading branch information
slouken committed Jul 12, 2010
1 parent 5a6774a commit 150a13c0c2404f2e15dc4c2389d07c4dc8a4dc59
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/x11/SDL_x11window.c
@@ -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 {

0 comments on commit 150a13c

Please sign in to comment.