summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-01-12 20:11:21 +0100
committerHaru <haru@dotalux.com>2015-01-12 20:46:31 +0100
commit6a5636ddf61e4fca9d258c11ebead182564f234f (patch)
treee6ba32523f8ba10400cb350ba366586101fdc388 /src/map/atcommand.c
parent60da9eab8463052d9196dae774aa91251f06db66 (diff)
downloadhercules-6a5636ddf61e4fca9d258c11ebead182564f234f.tar.gz
hercules-6a5636ddf61e4fca9d258c11ebead182564f234f.tar.bz2
hercules-6a5636ddf61e4fca9d258c11ebead182564f234f.tar.xz
hercules-6a5636ddf61e4fca9d258c11ebead182564f234f.zip
Fixed some -Wformat-security warnings
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 215ecbc70..a78b644a9 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -626,9 +626,9 @@ ACMD(who) {
if (map_id < 0) {
if (count == 0)
- StrBuf->Printf(&buf, msg_txt(28)); // No player found.
+ StrBuf->AppendStr(&buf, msg_txt(28)); // No player found.
else if (count == 1)
- StrBuf->Printf(&buf, msg_txt(29)); // 1 player found.
+ StrBuf->AppendStr(&buf, msg_txt(29)); // 1 player found.
else
StrBuf->Printf(&buf, msg_txt(30), count); // %d players found.
} else {