2013-09-26 17:14:40 +02:00

31 lines
935 B
Plaintext

$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;
}