summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index e7addbea8..ade5a1087 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -1484,7 +1484,7 @@ f_getmarklist(typval_T *argvars, typval_T *rettv)
{
buf_T *buf = NULL;
- if (rettv_list_alloc(rettv) != OK)
+ if (rettv_list_alloc(rettv) == FAIL)
return;
if (in_vim9script() && check_for_opt_buffer_arg(argvars, 0) == FAIL)