summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/kills.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-07-26 00:23:19 +0200
committerNeil Moore <neil@s-z.org>2013-07-28 12:52:45 -0400
commita2406f0aada94b5ef9fce04820fa88a257ce3e2a (patch)
tree6082851ab0e622c961b20fe21c52d165744b5d66 /crawl-ref/source/kills.cc
parentf61e71f529e8ec9710ddd2fe4b89d64ca5481858 (diff)
downloadcrawl-ref-a2406f0aada94b5ef9fce04820fa88a257ce3e2a.tar.gz
crawl-ref-a2406f0aada94b5ef9fce04820fa88a257ce3e2a.zip
Pad some ternary operators with spaces on the left
While this is not explicitly mentioned as a rule in coding_conventions, all examples listed there apply it as well. The dungeon.cc chunk did overflow max. columns before already, but could still be looked at.
Diffstat (limited to 'crawl-ref/source/kills.cc')
-rw-r--r--crawl-ref/source/kills.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/kills.cc b/crawl-ref/source/kills.cc
index 9a038bd9dc..7540e3a203 100644
--- a/crawl-ref/source/kills.cc
+++ b/crawl-ref/source/kills.cc
@@ -154,8 +154,8 @@ string KillMaster::kill_info() const
add_kill_info(killtext,
kills,
count,
- i == KC_YOU? NULL :
- category_name((kill_category) i),
+ i == KC_YOU ? NULL
+ : category_name((kill_category) i),
needseparator);
needseparator = true;
}
@@ -639,7 +639,7 @@ kill_ghost::kill_ghost(const monster* mon)
string kill_ghost::info() const
{
return ghost_name
- + (Options.dump_kill_places != KDO_NO_PLACES?
+ + (Options.dump_kill_places != KDO_NO_PLACES ?
" (" + short_place_name(place) + ")" : string(""));
}