$NetBSD: patch-ai,v 1.2 2005/08/15 14:03:53 wulf Exp $ --- src/spectrumdisplay.cpp.orig 2005-03-13 20:32:03.000000000 +1030 +++ src/spectrumdisplay.cpp 2005-08-15 07:24:05.000000000 +0930 @@ -21,6 +21,8 @@ #include #include +#include + #include "spectrumdisplay.h" #include "crxchannel.h" #include "parameter.h" @@ -178,7 +180,7 @@ { int ID = pRx->getID(); if ( ID >= 0 && ID < Farbe->size() ) - p.setPen(Farbe->at(ID)); + p.setPen(at_replacement(*Farbe, ID)); } // Calculate Centerfrequency Coordinates z=(( (int) pRx->getRxFrequency()-minfreq)*xmax)/(maxfreq-minfreq);