diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-07-26 00:23:19 +0200 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-07-28 12:52:45 -0400 |
commit | a2406f0aada94b5ef9fce04820fa88a257ce3e2a (patch) | |
tree | 6082851ab0e622c961b20fe21c52d165744b5d66 /crawl-ref/source/l_item.cc | |
parent | f61e71f529e8ec9710ddd2fe4b89d64ca5481858 (diff) | |
download | crawl-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/l_item.cc')
-rw-r--r-- | crawl-ref/source/l_item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_item.cc b/crawl-ref/source/l_item.cc index 05176fc2c3..22df765c66 100644 --- a/crawl-ref/source/l_item.cc +++ b/crawl-ref/source/l_item.cc @@ -481,7 +481,7 @@ IDEF(equip_type) else if (item->base_type == OBJ_ARMOUR) eq = get_armour_slot(*item); else if (item->base_type == OBJ_JEWELLERY) - eq = item->sub_type >= AMU_RAGE? EQ_AMULET : EQ_RINGS; + eq = item->sub_type >= AMU_RAGE ? EQ_AMULET : EQ_RINGS; if (eq != EQ_NONE) { |