aports/testing/vim-classic/revert-fix-null-ptr.patch
mio c8e962ddd7 testing/vim-classic: new aport
https://vim-classic.org
Fork of Vim 8.x text editor for long-term maintenance
2026-04-05 03:11:20 +00:00

13 lines
254 B
Diff

--- a/src/fold.c
+++ b/src/fold.c
@@ -1129,9 +1129,6 @@
fold_T *fp;
int i;
- if (gap->ga_len == 0 || gap->ga_data == NULL)
- return FALSE;
-
/*
* Perform a binary search.
* "low" is lowest index of possible match.