summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-shoals.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/dgn-shoals.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/dgn-shoals.cc')
-rw-r--r--crawl-ref/source/dgn-shoals.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dgn-shoals.cc b/crawl-ref/source/dgn-shoals.cc
index 0447ff0f69..d51e20ed27 100644
--- a/crawl-ref/source/dgn-shoals.cc
+++ b/crawl-ref/source/dgn-shoals.cc
@@ -83,9 +83,9 @@ static int shoals_plant_quota = 0;
static dungeon_feature_type _shoals_feature_by_height(int height)
{
return height >= SHT_STONE ? DNGN_STONE_WALL :
- height >= SHT_ROCK? DNGN_ROCK_WALL :
- height >= SHT_FLOOR? DNGN_FLOOR :
- height >= SHT_SHALLOW_WATER? DNGN_SHALLOW_WATER
+ height >= SHT_ROCK ? DNGN_ROCK_WALL :
+ height >= SHT_FLOOR ? DNGN_FLOOR :
+ height >= SHT_SHALLOW_WATER ? DNGN_SHALLOW_WATER
: DNGN_DEEP_WATER;
}