summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-04-04 16:15:43 -0400
committerMadCamel <madcamel@gmail.com>2010-04-04 16:15:43 -0400
commitb683a1ba9ba9e46bab0d8f94e38ef56669f8530a (patch)
treec90685468d3a67f4f2dc98d72b1d23d0745ad693 /src/map/atcommand.c
parent3db7c2cd1c4fb0d8888416e9b5733abab574ebe9 (diff)
downloadtmwa-b683a1ba9ba9e46bab0d8f94e38ef56669f8530a.tar.gz
tmwa-b683a1ba9ba9e46bab0d8f94e38ef56669f8530a.tar.bz2
tmwa-b683a1ba9ba9e46bab0d8f94e38ef56669f8530a.tar.xz
tmwa-b683a1ba9ba9e46bab0d8f94e38ef56669f8530a.zip
Fixed some bad code that was generating compiler warnings
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index d3ea644..062e898 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -3228,7 +3228,7 @@ int atcommand_produce (const int fd, struct map_session_data *sd,
if (item_id != 0 && itemdb_exists (item_id))
sprintf (output, msg_table[169], item_id, item_data->name); // This item (%d: '%s') is not an equipment.
else
- sprintf (output, msg_table[170]); // This item is not an equipment.
+ sprintf (output, "%s", msg_table[170]); // This item is not an equipment.
clif_displaymessage (fd, output);
return -1;
}