summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index adac95b83..7bcdaf2e9 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3258,13 +3258,13 @@ ex_append(eap)
if (eap->getline == NULL)
theline = getcmdline(
#ifdef FEAT_EVAL
- eap->cstack->cs_whilelevel > 0 ? -1 :
+ eap->cstack->cs_looplevel > 0 ? -1 :
#endif
NUL, 0L, 0);
else
theline = eap->getline(
#ifdef FEAT_EVAL
- eap->cstack->cs_whilelevel > 0 ? -1 :
+ eap->cstack->cs_looplevel > 0 ? -1 :
#endif
NUL, eap->cookie, 0);
lines_left = Rows - 1;