summaryrefslogtreecommitdiff
path: root/ham/linpsk/patches/patch-ad
blob: d0aeb211a72b49b1be24fd701f90c14509dd9d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ad,v 1.2 2005/08/15 14:03:53 wulf Exp $

--- src/macros.cpp.orig	2005-08-15 06:57:24.000000000 +0930
+++ src/macros.cpp	2005-08-15 07:10:05.000000000 +0930
@@ -13,7 +13,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  ***************************************************************************/
-
+#include "pkgsrc_fixes.h"
 #include "macros.h"
 #include "parameter.h"
 #include "ctxbuffer.h"
@@ -220,13 +220,13 @@
 }
 void Macros::setDefinition(QString s,int position)
 {
-MacroText.at(position)=s;
+at_replacement(MacroText, position)=s;
 }
 void Macros::setAccelerator(QString s,int position)
 {
-Accelerator.at(position)=s;
+at_replacement(Accelerator,position)=s;
 }
 void Macros::setMacroName(QString s,int MacroNumber)
 {
-MacroNames.at(MacroNumber)=s;
+at_replacement(MacroNames,MacroNumber)=s;
 }