summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/message.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
committerNeil Moore <neil@s-z.org>2013-11-15 17:26:11 -0500
commite7b96ffa70ca93a3cea9e2cead6f40085a6a2d68 (patch)
treeec3e4b86d3b4ed96250f735b4e597e83ee886de8 /crawl-ref/source/message.cc
parentb65bf4d5198c19095e3084a88983680df19ec5ee (diff)
downloadcrawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.tar.gz
crawl-ref-e7b96ffa70ca93a3cea9e2cead6f40085a6a2d68.zip
More formatting fixes for return (...);
Diffstat (limited to 'crawl-ref/source/message.cc')
-rw-r--r--crawl-ref/source/message.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/message.cc b/crawl-ref/source/message.cc
index 868a37b33a..1d3c6c199c 100644
--- a/crawl-ref/source/message.cc
+++ b/crawl-ref/source/message.cc
@@ -338,8 +338,8 @@ class message_window
// Whether to show msgwin-full more prompts.
bool more_enabled() const
{
- return (crawl_state.show_more_prompt
- && (Options.clear_messages || Options.show_more));
+ return crawl_state.show_more_prompt
+ && (Options.clear_messages || Options.show_more);
}
int make_space(int n)
@@ -418,12 +418,12 @@ public:
unsigned int out_width() const
{
- return (width() - (use_first_col() ? 1 : 0));
+ return width() - (use_first_col() ? 1 : 0);
}
unsigned int out_height() const
{
- return (height() - (use_last_line() ? 0 : 1));
+ return height() - (use_last_line() ? 0 : 1);
}
void clear_lines()