From 15f2208209bdf597264d910e8b3e30c29339a315 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 13 Feb 2003 05:11:39 +0000 Subject: [PATCH] borked the build --- otk/pseudorendercontrol.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/otk/pseudorendercontrol.cc b/otk/pseudorendercontrol.cc index 2b878200..f2cf8059 100644 --- a/otk/pseudorendercontrol.cc +++ b/otk/pseudorendercontrol.cc @@ -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 -- 2.45.2