summaryrefslogtreecommitdiffstats
path: root/src/evalbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evalbuffer.c')
-rw-r--r--src/evalbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalbuffer.c b/src/evalbuffer.c
index 7de7271770..0808c7e6a2 100644
--- a/src/evalbuffer.c
+++ b/src/evalbuffer.c
@@ -680,7 +680,7 @@ f_getbufinfo(typval_T *argvars, typval_T *rettv)
int sel_bufloaded = FALSE;
int sel_bufmodified = FALSE;
- if (rettv_list_alloc(rettv) != OK)
+ if (rettv_list_alloc(rettv) == FAIL)
return;
if (in_vim9script()