summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/viewmap.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/viewmap.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/viewmap.cc')
-rw-r--r--crawl-ref/source/viewmap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/viewmap.cc b/crawl-ref/source/viewmap.cc
index ef8fabde52..e4946ed6dd 100644
--- a/crawl-ref/source/viewmap.cc
+++ b/crawl-ref/source/viewmap.cc
@@ -57,8 +57,8 @@ static unsigned _get_travel_colour(const coord_def& p)
return Options.tc_excluded;
short dist = travel_point_distance[p.x][p.y];
return dist > 0? Options.tc_reachable :
- dist == PD_EXCLUDED? Options.tc_excluded :
- dist == PD_EXCLUDED_RADIUS? Options.tc_exclude_circle :
+ dist == PD_EXCLUDED ? Options.tc_excluded :
+ dist == PD_EXCLUDED_RADIUS ? Options.tc_exclude_circle :
dist < 0? Options.tc_dangerous :
Options.tc_disconnected;
}