blob: 4c0fc74b14b8e76b1213daeda4714d90ebfb2c3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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 <qpainter.h>
#include <qsplitter.h>
+#include <pkgsrc_fixes.h>
+
#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);
|