summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IRCG/src/tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/tools.cpp b/protocols/IRCG/src/tools.cpp
index 12bea7feec..0245ba82c9 100644
--- a/protocols/IRCG/src/tools.cpp
+++ b/protocols/IRCG/src/tools.cpp
@@ -330,14 +330,14 @@ CMStringW DoColorCodes(const wchar_t *text, bool bStrip)
if (iFG == -1)
ret.Append(L"[/color]");
else if (iFG < numColors)
- ret.Append(L"[color=%08X]", pClrTable[iFG]);
+ ret.AppendFormat(L"[color=%08X]", pClrTable[iFG]);
}
if (iBG != iOldBG) {
if (iFG == -1)
ret.Append(L"[/bkcolor]");
else if (iFG < numColors)
- ret.Append(L"[bkcolor=%08X]", pClrTable[iFG]);
+ ret.AppendFormat(L"[bkcolor=%08X]", pClrTable[iFG]);
}
}
break;