summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 20:50:09 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-26 20:50:09 +0000
commit4698cb53dc2ed6cb7dad084753af024f3059d839 (patch)
tree30b07d35619f58e124299d43b9418432fed97c37 /crawl-ref/source/stuff.h
parent6717f13e25e85f21d0069d396bb40315ed6f4bd6 (diff)
downloadcrawl-ref-4698cb53dc2ed6cb7dad084753af024f3059d839.tar.gz
crawl-ref-4698cb53dc2ed6cb7dad084753af024f3059d839.zip
Add still more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8796 c06c8d41-db1a-0410-9941-cceddc491573
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);