summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-12-30 15:16:02 -0800
committerStefan O'Rear <stefanor@cox.net>2009-12-30 15:16:02 -0800
commit03198aca0dd95ee031adbda1bef852ec49c0ca3b (patch)
treeeb7e254658b4bfec69238fdc9e4ccb676299007f /crawl-ref/source/message.cc
parent03c70abf21c20f95c3886988c06c44194f8623e5 (diff)
downloadcrawl-ref-03198aca0dd95ee031adbda1bef852ec49c0ca3b.tar.gz
crawl-ref-03198aca0dd95ee031adbda1bef852ec49c0ca3b.zip
Account for indicator column when using &" with delay_message_clear
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index a6adba6847..8fcb1d1b56 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -587,6 +587,9 @@ void mpr_comma_separated_list(const std::string prefix,
std::string out = prefix;
unsigned width = get_number_of_cols() - 1;
+ if (Options.delay_message_clear)
+ width--;
+
for (int i = 0, size = list.size(); i < size; i++)
{
std::string new_str = list[i];