From 46dff5896c09c3950088d77665fb2b48538add79 Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 12 Feb 2009 18:04:00 +0000 Subject: 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 --- crawl-ref/source/output.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crawl-ref/source/output.cc') 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); -- cgit v1.2.3-54-g00ecf