Fixed compiler warning

This commit is contained in:
Sam Lantinga 2010-07-12 00:33:24 -07:00
parent ef598b2e7c
commit 57180a1c7e

View file

@ -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 {