Oops, meant PsuedoColor not TrueColor
authorBob Pendleton <bob@pendleton.com>
Mon, 23 Jul 2007 16:55:38 +0000
changeset 2211 9462f4408ecb
parent 2210 1de324fce4e8
child 2212 fdadda42d4d4
Oops, meant PsuedoColor not TrueColor
src/video/x11/SDL_x11gamma.c
src/video/x11/SDL_x11window.c
--- a/src/video/x11/SDL_x11gamma.c	Mon Jul 23 01:17:38 2007 +0000
+++ b/src/video/x11/SDL_x11gamma.c	Mon Jul 23 16:55:38 2007 +0000
@@ -23,11 +23,10 @@
 #include "../SDL_sysvideo.h"
 #include "SDL_x11video.h"
 
-
 int
 X11_SetDisplayGammaRamp(_THIS, Uint16 * ramp)
 {
-    return (-1);
+    return -1;
 }
 
 int
--- a/src/video/x11/SDL_x11window.c	Mon Jul 23 01:17:38 2007 +0000
+++ b/src/video/x11/SDL_x11window.c	Mon Jul 23 16:55:38 2007 +0000
@@ -181,7 +181,7 @@
     }
     xattr.background_pixel = 0;
     xattr.border_pixel = 0;
-    if (visual->class == DirectColor || visual->class == TrueColor) {
+    if (visual->class == DirectColor || visual->class == PseudoColor) {
         int nmaps;
         XStandardColormap *stdmaps;
         int i;