diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-12 18:04:00 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-12 18:04:00 +0000 |
commit | 46dff5896c09c3950088d77665fb2b48538add79 (patch) | |
tree | 58bc3a55db12b943380ffd10a4a5195bff497c15 /crawl-ref/source/output.cc | |
parent | 16b8d5a29f16ac5b86dca8edf9462b1807ca67eb (diff) | |
download | crawl-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/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 814fff9d3d..434b5dc504 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1166,10 +1166,7 @@ std::string mpr_monster_list(bool past) if (describe.size() == 1) msg += describe[0]; else - { - msg += comma_separated_line(describe.begin(), describe.end(), - ", and ", ", "); - } + msg += comma_separated_line(describe.begin(), describe.end()); msg += "."; return (msg); |