Index: trunk/BNC/bncfigure.cpp
===================================================================
--- trunk/BNC/bncfigure.cpp	(revision 1957)
+++ trunk/BNC/bncfigure.cpp	(revision 1958)
@@ -52,7 +52,7 @@
   slotNextAnimationFrame();
   for (int ii = 0; ii <= 1000; ii++) {
-    _r[ii] = qrand() % 255;
-    _g[ii] = qrand() % 255;
-    _b[ii] = qrand() % 255;
+    _rgb[0][ii] = qrand() % 255;
+    _rgb[1][ii] = qrand() % 255;
+    _rgb[2][ii] = qrand() % 255;
   }
 }
@@ -184,5 +184,5 @@
 
     if(_maxRate > 0.0) {
-      QColor color = QColor::fromRgb(_r[anchor],_g[anchor],_b[anchor]);
+      QColor color = QColor::fromRgb(_rgb[0][anchor],_rgb[1][anchor],_rgb[2][anchor]);
       painter.fillRect(xx-10, int((yMax-yMin)*xLine)-yy, 10, yy, 
                        QBrush(color,Qt::SolidPattern));
Index: trunk/BNC/bncfigure.h
===================================================================
--- trunk/BNC/bncfigure.h	(revision 1957)
+++ trunk/BNC/bncfigure.h	(revision 1958)
@@ -52,7 +52,5 @@
   int                           _counter;
   double                        _maxRate;
-  int _r[1001];
-  int _g[1001];
-  int _b[1001];
+  int                           _rgb[3][1001];
 };
 
