summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stash.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-07-31 03:58:01 +0200
committerChris Campbell <chriscampbell89@gmail.com>2013-08-03 03:08:12 +0100
commitf66cb844ab65f57161a52e3843ddda8f230588a8 (patch)
tree9e20151ad2b2c9f1ebd2bd0ec42b4f30091414cc /crawl-ref/source/stash.cc
parenta588b26c5ef24f6ad469d5c1d48b4b7702040c96 (diff)
downloadcrawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.tar.gz
crawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.zip
More padding fixes for ternary operator
Diffstat (limited to 'crawl-ref/source/stash.cc')
-rw-r--r--crawl-ref/source/stash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stash.cc b/crawl-ref/source/stash.cc
index aa5e796fd7..7cab850313 100644
--- a/crawl-ref/source/stash.cc
+++ b/crawl-ref/source/stash.cc
@@ -1137,7 +1137,7 @@ Stash *LevelStashes::find_stash(coord_def c)
const int abspos = (GXM * c.y) + c.x;
stashes_t::iterator st = m_stashes.find(abspos);
- return (st == m_stashes.end()? NULL : &st->second);
+ return (st == m_stashes.end() ? NULL : &st->second);
}
const Stash *LevelStashes::find_stash(coord_def c) const
@@ -1148,7 +1148,7 @@ const Stash *LevelStashes::find_stash(coord_def c) const
const int abspos = (GXM * c.y) + c.x;
stashes_t::const_iterator st = m_stashes.find(abspos);
- return (st == m_stashes.end()? NULL : &st->second);
+ return (st == m_stashes.end() ? NULL : &st->second);
}
const ShopInfo *LevelStashes::find_shop(const coord_def& c) const