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/player.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/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index ee77d16af3..2f8dbbc7ba 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -3930,8 +3930,7 @@ void display_char_status() if (!attrib.empty()) { - msg += comma_separated_line(attrib.begin(), attrib.end(), - ", and ", ", "); + msg += comma_separated_line(attrib.begin(), attrib.end()); mpr(msg.c_str()); } } |