diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-08-07 11:23:15 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-08-08 15:55:12 +0200 |
commit | 8e9ce489a95dc5a99a8f7c24214daab1a9aa3737 (patch) | |
tree | 413632230322181847a7df0ad58bc8717245ca22 /crawl-ref/source/libutil.cc | |
parent | 1401ecdd7c55daa75c9b869111823c394642c1a7 (diff) | |
download | crawl-ref-8e9ce489a95dc5a99a8f7c24214daab1a9aa3737.tar.gz crawl-ref-8e9ce489a95dc5a99a8f7c24214daab1a9aa3737.zip |
Drop a bunch of parentheses from return statements.
This is incomplete, partially because of me getting bored, partially because
of doubts about the point of leaving simple addition/etc in parentheses.
Diffstat (limited to 'crawl-ref/source/libutil.cc')
-rw-r--r-- | crawl-ref/source/libutil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index 08187e2109..fb7ae909bc 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -92,7 +92,7 @@ description_level_type description_type_by_name(const char *desc) static std::string _number_to_string(unsigned number, bool in_words) { - return (in_words? number_in_words(number) : make_stringf("%u", number)); + return in_words? number_in_words(number) : make_stringf("%u", number); } std::string apply_description(description_level_type desc, |