pkgsrc/ham/linpsk/patches/patch-ad
wulf 144c67d563 Updated linpsk to 0.8.1:
* Improved RTTY decoder
        * Setting for slashed 0 now will be saved
        * Fixed some memory leakages
        * Removed dependancy on qwindowsstyle.h
        * Some minor bugfixes
2005-08-15 14:03:53 +00:00

30 lines
935 B
Text

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