summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index b480ca392d..989b9f2140 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -1036,7 +1036,7 @@ void replay_messages(void)
case FSOP_TEXT:
textcolor( colour );
cgotoxy(curcol, wherey(), GOTO_CRT);
- cprintf(fs.ops[j].text.c_str());
+ cprintf("%s", fs.ops[j].text.c_str());
curcol += multibyte_strlen(fs.ops[j].text);
break;
case FSOP_CURSOR: