summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.h')
-rw-r--r--crawl-ref/source/stuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.h b/crawl-ref/source/stuff.h
index 3e65492b17..74e90b86e7 100644
--- a/crawl-ref/source/stuff.h
+++ b/crawl-ref/source/stuff.h
@@ -206,7 +206,7 @@ inline bool testbits(unsigned long flags, unsigned long test)
template <typename Z> inline Z sgn(Z x)
{
- return (x < 0? -1 : (x > 0? 1 : 0));
+ return (x < 0 ? -1 : (x > 0 ? 1 : 0));
}
bool is_trap_square(dungeon_feature_type grid);