diff options
Diffstat (limited to 'DTTemplateFunctions.c')
| -rw-r--r-- | DTTemplateFunctions.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/DTTemplateFunctions.c b/DTTemplateFunctions.c index 860c9e1..6d8cd7e 100644 --- a/DTTemplateFunctions.c +++ b/DTTemplateFunctions.c @@ -83,7 +83,7 @@ global func Function(arguments, commands) {
if(argument == "")
{
- contentPart = Format("%s%%", contentPart);
+ contentPart ..= "%";
}
else
{
@@ -125,7 +125,7 @@ global func Function(arguments, commands) }
else if(c == 39) // '
{
- contentPart = Format("%s\"", contentPart);
+ contentPart ..= "\"";
}
else
{
@@ -172,9 +172,9 @@ global func f(array function, array args) {
part = EscapeString(part);
}
- command = Format("%s%s", command, part);
+ command ..= part;
}
- else command = Format("%s%s", command, contentPart);
+ else command ..= contentPart;
}
ret = eval(command);
}
@@ -201,9 +201,9 @@ global func DebugFunc(array function, array args) {
part = EscapeString(part);
}
- command = Format("%s%s", command, part);
+ command ..= part;
}
- else command = Format("%s%s", command, contentPart);
+ else command ..= contentPart;
}
Log(command);
}
|
