summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-12 18:04:00 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-12 18:04:00 +0000
commit46dff5896c09c3950088d77665fb2b48538add79 (patch)
tree58bc3a55db12b943380ffd10a4a5195bff497c15 /crawl-ref/source/message.h
parent16b8d5a29f16ac5b86dca8edf9462b1807ca67eb (diff)
downloadcrawl-ref-46dff5896c09c3950088d77665fb2b48538add79.tar.gz
crawl-ref-46dff5896c09c3950088d77665fb2b48538add79.zip
Properly use default parameters when displaying comma-separated lists.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9048 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/message.h')
-rw-r--r--crawl-ref/source/message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/message.h b/crawl-ref/source/message.h
index 123551047b..49830df41f 100644
--- a/crawl-ref/source/message.h
+++ b/crawl-ref/source/message.h
@@ -47,7 +47,7 @@ void formatted_message_history(const std::string &st,
// mpr() an arbitrarily long list of strings
void mpr_comma_separated_list(const std::string prefix,
const std::vector<std::string> list,
- const std::string &andc = " and ",
+ const std::string &andc = ", and ",
const std::string &comma = ", ",
const msg_channel_type channel = MSGCH_PLAIN,
const int param = 0);