diff src/window.c @ 14844:a74786d0370c v8.1.0434

patch 8.1.0434: copy_loclist() is too long commit https://github.com/vim/vim/commit/09037503ea5f957ad23121bc61e15e4bb1765edf Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 25 22:08:14 2018 +0200 patch 8.1.0434: copy_loclist() is too long Problem: copy_loclist() is too long. Solution: Split in multiple functions. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Tue, 25 Sep 2018 22:15:06 +0200
parents 193471015e1a
children 27b9a84395b5
line wrap: on
line diff
--- a/src/window.c
+++ b/src/window.c
@@ -1308,7 +1308,7 @@ win_init(win_T *newp, win_T *oldp, int f
 	newp->w_llist_ref = NULL;
     }
     else
-	copy_loclist(oldp, newp);
+	copy_loclist_stack(oldp, newp);
 #endif
     newp->w_localdir = (oldp->w_localdir == NULL)
 				    ? NULL : vim_strsave(oldp->w_localdir);