summaryrefslogtreecommitdiff
path: root/ham/linpsk/patches/patch-af
blob: c0362c49cf3e4437f71347480225b52fb353c63d (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-af,v 1.2 2005/08/15 14:03:53 wulf Exp $

--- src/linpsk.cpp.orig	2005-03-12 03:51:20.000000000 +1030
+++ src/linpsk.cpp	2005-08-15 07:14:45.000000000 +0930
@@ -44,6 +44,8 @@
 
 #include <vector>
 
+#include <pkgsrc_fixes.h>
+
 #include "controlpanel.h"
 #include "crxdisplay.h"
 #include "ctxdisplay.h"
@@ -416,7 +418,7 @@
                          rxmode,
                          Channel->TitleText->text());
 
-  settings.ActChannel->setWindowColor(WindowColors.at(settings.RxChannels));
+  settings.ActChannel->setWindowColor(at_replacement(WindowColors,settings.RxChannels));
   settings.RxChannels++;
   RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties());
   }