summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tutorial.cc
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/tutorial.cc
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/tutorial.cc')
-rw-r--r--crawl-ref/source/tutorial.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc
index f5c8d62edc..d12e781346 100644
--- a/crawl-ref/source/tutorial.cc
+++ b/crawl-ref/source/tutorial.cc
@@ -2801,8 +2801,7 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc)
listed.push_back("your religious standing (<w>^</w>)");
listed.push_back("the character overview screen (<w>%</w>).");
- text << comma_separated_line(listed.begin(), listed.end(),
- " and ", ", ");
+ text << comma_separated_line(listed.begin(), listed.end());
text << "\nAlternatively, you can dump all information pertaining to "
"your character into a text file with the <w>#</w> command. "