diff options
author | Haru <haru@dotalux.com> | 2015-01-12 20:11:21 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-01-12 20:46:31 +0100 |
commit | 6a5636ddf61e4fca9d258c11ebead182564f234f (patch) | |
tree | e6ba32523f8ba10400cb350ba366586101fdc388 /src/map/atcommand.c | |
parent | 60da9eab8463052d9196dae774aa91251f06db66 (diff) | |
download | hercules-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.c | 4 |
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 { |