diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-13 20:20:47 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-13 20:20:47 +0000 |
commit | 6c3f8c2e4dd252cfe3b72c1fe39638770c009cab (patch) | |
tree | 38eadec5c2b6c53fcb35d2711abc7666132f8935 /crawl-ref/source/spells2.cc | |
parent | 4c9cb7b8e0b5d0e557dc9d3c5398f59393d4a1c0 (diff) | |
download | crawl-ref-6c3f8c2e4dd252cfe3b72c1fe39638770c009cab.tar.gz crawl-ref-6c3f8c2e4dd252cfe3b72c1fe39638770c009cab.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9440 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 704509adb0..3157dd5289 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -466,7 +466,7 @@ static void _record_monster_by_name(counted_monster_list &list, return; } } - list.push_back( counted_monster(mons, 1) ); + list.push_back(counted_monster(mons, 1)); } static int _monster_count(const counted_monster_list &list) @@ -492,14 +492,14 @@ static std::string _describe_monsters(const counted_monster_list &list) if (i != list.begin()) { ++i; - out << (i == list.end()? " and " : ", "); + out << (i == list.end() ? " and " : ", "); } else ++i; const std::string name = - cm.second > 1? pluralise(cm.first->name(desc)) - : cm.first->name(desc); + cm.second > 1 ? pluralise(cm.first->name(desc)) + : cm.first->name(desc); out << name; } return (out.str()); |