summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2013-03-29 22:39:21 -0400
committerSamuel Bronson <naesten@gmail.com>2013-03-29 22:42:20 -0400
commite5544a6fc0646dec95eec6f003f320ba38a5740c (patch)
tree0b5bda200d134bbc4862d55bafd95480d272f0cd /crawl-ref/source/message.cc
parent6deafba1856129f0e80e93a48f6b4eb7d7b04c0c (diff)
downloadcrawl-ref-e5544a6fc0646dec95eec6f003f320ba38a5740c.tar.gz
crawl-ref-e5544a6fc0646dec95eec6f003f320ba38a5740c.zip
Stop dropping lines from the message window due to an extra (nasal) -=.
(Yes, I'm pretty sure this -= was causing undefined behaviour.)
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 670d9dd3bf..f5cb2c9d00 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -505,7 +505,7 @@ public:
for (size_t i = 0; i < newlines.size(); ++i)
{
- temp_line -= make_space(1);
+ make_space(1);
formatted_string line;
if (use_first_col())
line.add_glyph(_prefix_glyph(first_col));