]> Dogcows Code - chaz/openbox/blobdiff - otk/pseudorendercontrol.cc
more efficient/nicer way to get the XColor values
[chaz/openbox] / otk / pseudorendercontrol.cc
index b3ee06c36de907c81611d2fa8a8afc3ba7ef0fad..c30e77f9b32c0609caae6bd7abd9976978f35ca8 100644 (file)
@@ -29,7 +29,7 @@ PseudoRenderControl::PseudoRenderControl(int screen)
   _cpc = 4; // XXX THIS SHOULD BE A USER OPTION
   _ncolors = _cpc * _cpc * _cpc;
 
-  if (_cpc < 2 || ncolors > 1 << depth) {
+  if (_cpc < 2 || _ncolors > 1 << depth) {
     fprintf(stderr,
             _("PseudoRenderControl: Invalid colormap size. Using maximum size
 available.\n"));
This page took 0.021831 seconds and 4 git commands to generate.