diff options
author | Neil Moore <neil@s-z.org> | 2013-11-15 17:26:11 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-11-15 17:26:11 -0500 |
commit | e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch) | |
tree | ec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/libutil.h | |
parent | b65bf4d5198c19095e3084a88983680df19ec5ee (diff) | |
download | crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip |
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/libutil.h')
-rw-r--r-- | crawl-ref/source/libutil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/libutil.h b/crawl-ref/source/libutil.h index f4444c739e..278e0ec80a 100644 --- a/crawl-ref/source/libutil.h +++ b/crawl-ref/source/libutil.h @@ -35,7 +35,7 @@ bool key_is_escape(int key); // Unscales a fixed-point number, rounding up. static inline int unscale_round_up(int number, int scale) { - return ((number + scale - 1) / scale); + return (number + scale - 1) / scale; } // Chinese rod numerals are _not_ digits for our purposes. @@ -198,7 +198,7 @@ int isqrt_ceil(int x); static inline bool testbits(uint64_t flags, uint64_t test) { - return ((flags & test) == test); + return (flags & test) == test; } coord_def cgetsize(GotoRegion region = GOTO_CRT); |