summaryrefslogtreecommitdiffstats
path: root/DTFormatN.c
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2019-07-29 21:28:55 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2019-07-29 22:03:40 +0200
commit012cd7a5888913ae5efc0762a019ff1fd5e27551 (patch)
treefdd34988b33b8aad6a657ae38307a8513499445c /DTFormatN.c
parente6cca647da0482090d2259a57bd7f8b8a87c1041 (diff)
downloadSystem.c4g-012cd7a5888913ae5efc0762a019ff1fd5e27551.tar.gz
System.c4g-012cd7a5888913ae5efc0762a019ff1fd5e27551.zip
Use operators .. and ..= instead of Format where appropriate
Diffstat (limited to 'DTFormatN.c')
-rw-r--r--DTFormatN.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DTFormatN.c b/DTFormatN.c
index 0f9481b..37f604e 100644
--- a/DTFormatN.c
+++ b/DTFormatN.c
@@ -31,7 +31,7 @@ global func FormatN(string format, array placeholders, array items)
{
if(c == 37 && GetLength(placeholderType) == 0) // %
{
- ret = Format("%s%%", ret);
+ ret ..= "%";
inPlaceholder = 0;
}
else