diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2024-06-03 18:52:22 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-03 18:52:22 +0200 |
commit | 734286e4c626f80ace27eeb252a5e384e798aebf (patch) | |
tree | 5a87a878cb8a82bd071eec1ce64b6ebef27f7160 /src/scriptfile.c | |
parent | f51ff96532ab8f97f779b44d17dccdda9d8ce566 (diff) |
patch 9.1.0462: eval5() and eval7 are too complexv9.1.0462
Problem: eval5() and eval7 are too complex
Solution: Refactor eval5() and eval7() in eval.c
(Yegappan Lakshmanan)
closes: #14900
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/scriptfile.c')
-rw-r--r-- | src/scriptfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index 6a6a037e32..711f576c09 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -439,8 +439,8 @@ check_script_symlink(int sid) SCRIPT_ITEM(real_sid)->sn_import_autoload = si->sn_import_autoload; if (si->sn_autoload_prefix != NULL) - SCRIPT_ITEM(real_sid)->sn_autoload_prefix = - vim_strsave(si->sn_autoload_prefix); + SCRIPT_ITEM(real_sid)->sn_autoload_prefix = + vim_strsave(si->sn_autoload_prefix); } } } |