summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 8f0a9c632..eebb6db2e 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1925,7 +1925,8 @@ msg_puts_display(str, maxlen, attr, recurse)
* If screen is completely filled and 'more' is set then wait
* for a character.
*/
- if (p_more && --lines_left == 0 && State != HITRETURN
+ --lines_left;
+ if (p_more && lines_left == 0 && State != HITRETURN
&& !msg_no_more && !exmode_active)
{
#ifdef FEAT_CON_DIALOG