summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/stuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r--crawl-ref/source/stuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc
index 51cd1685c9..128a19de34 100644
--- a/crawl-ref/source/stuff.cc
+++ b/crawl-ref/source/stuff.cc
@@ -909,7 +909,7 @@ bool yesno( const char *str, bool safe, int safeanswer, bool clear_after,
while (true)
{
- if ( !noprompt )
+ if (!noprompt)
mpr(prompt.c_str(), MSGCH_PROMPT);
int tmp = getchm(KC_CONFIRM);
@@ -925,7 +925,7 @@ bool yesno( const char *str, bool safe, int safeanswer, bool clear_after,
if (Options.easy_confirm == CONFIRM_ALL_EASY
|| tmp == safeanswer
- || (Options.easy_confirm == CONFIRM_SAFE_EASY && safe))
+ || Options.easy_confirm == CONFIRM_SAFE_EASY && safe)
{
tmp = toupper( tmp );
}