]> Dogcows Code - chaz/openbox/commitdiff
borked the build
authorDana Jansens <danakj@orodu.net>
Thu, 13 Feb 2003 05:11:39 +0000 (05:11 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 13 Feb 2003 05:11:39 +0000 (05:11 +0000)
otk/pseudorendercontrol.cc

index 2b878200e7f034e38edd90e7b00658ad221fa1a1..f2cf8059b271343025ea5261356dcc6cb17361ad 100644 (file)
@@ -101,12 +101,12 @@ PseudoRenderControl::~PseudoRenderControl()
 {
   printf("Destroying PseudoColor RenderControl\n");
 
-  unsigned long *pixels = new unsigned long [ncolors], *p = pixels;
+  unsigned long *pixels = new unsigned long [_ncolors], *p = pixels;
   for (int i = 0; i < _ncolors; ++i, ++p)
     *p = _colors[i].pixel;
   XFreeColors(**display, display->screenInfo(_screen)->colormap(), pixels,
               _ncolors, 0);
-  delete [] colors;
+  delete [] _colors;
 }
 
 void PseudoRenderControl::reduceDepth(Surface &sf, XImage *im) const
This page took 0.029882 seconds and 4 git commands to generate.