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/macro.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/macro.cc')
-rw-r--r-- | crawl-ref/source/macro.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc index 9a8f61d1d8..5df284083e 100644 --- a/crawl-ref/source/macro.cc +++ b/crawl-ref/source/macro.cc @@ -108,7 +108,7 @@ static KeymapContext _context_for_command(command_type cmd); static inline int userfunc_index(int key) { - int index = (key <= USERFUNCBASE? USERFUNCBASE - key : -1); + int index = (key <= USERFUNCBASE ? USERFUNCBASE - key : -1); return (index < 0 || index >= (int) userfunctions.size()? -1 : index); } |