diff src/mark.c @ 29239:da56650de132 v8.2.5138

patch 8.2.5138: various small issues Commit: https://github.com/vim/vim/commit/8088ae95bbed2085c5fb196850c4e4b8df55c989 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 20 11:38:17 2022 +0100 patch 8.2.5138: various small issues Problem: Various small issues. Solution: Various small improvments.
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jun 2022 12:45:03 +0200
parents 320991d9812e
children 14c0d0c72bcd
line wrap: on
line diff
--- a/src/mark.c
+++ b/src/mark.c
@@ -1484,7 +1484,7 @@ f_getmarklist(typval_T *argvars, typval_
 {
     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)