From 15b013dd6adc72b8fe8d06c45ef5b6c253586d74 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Wed, 21 Jan 2004 14:15:29 +0000
Subject: minor fix for static var sqrt_table

---
 src/FbTk/ImageControl.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc
index 6c2e3d6..b9c5029 100644
--- a/src/FbTk/ImageControl.cc
+++ b/src/FbTk/ImageControl.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: ImageControl.cc,v 1.11 2004/01/11 12:40:47 fluxgen Exp $
+// $Id: ImageControl.cc,v 1.12 2004/01/21 14:15:29 fluxgen Exp $
 
 #include "ImageControl.hh"
 
@@ -115,6 +115,7 @@ ImageControl::ImageControl(int screen_num, bool dither,
 ImageControl::~ImageControl() {
     if (sqrt_table) {
         delete [] sqrt_table;
+        sqrt_table = 0;
     }
 
     if (grad_xbuffer) {
-- 
cgit v0.11.2