Commit 57180a1c authored by Sam Lantinga's avatar Sam Lantinga

Fixed compiler warning

parent ef598b2e
...@@ -289,9 +289,9 @@ X11_CreateWindow(_THIS, SDL_Window * window) ...@@ -289,9 +289,9 @@ X11_CreateWindow(_THIS, SDL_Window * window)
Sint32 r, g, b; Sint32 r, g, b;
/* Is the colormap we need already registered in SDL? */ /* Is the colormap we need already registered in SDL? */
if (colormap = if ((colormap =
X11_LookupColormap(data->display, X11_LookupColormap(data->display,
displaydata->screen, visual->visualid)) { displaydata->screen, visual->visualid))) {
xattr.colormap = colormap; xattr.colormap = colormap;
/* printf("found existing colormap\n"); */ /* printf("found existing colormap\n"); */
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment