Commit d29d49ae authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: remove an old fault-catching message

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -279,7 +279,7 @@ const char *strstrwrapper(const char *haystack, const char *needle, ...@@ -279,7 +279,7 @@ const char *strstrwrapper(const char *haystack, const char *needle,
regmatches[0].rm_eo = far_end; regmatches[0].rm_eo = far_end;
if (regexec(&search_regexp, haystack, 10, regmatches, if (regexec(&search_regexp, haystack, 10, regmatches,
REG_STARTEND) != 0) REG_STARTEND) != 0)
statusline(ALERT, "BAD: failed to refind the match!"); return NULL;
return haystack + regmatches[0].rm_so; return haystack + regmatches[0].rm_so;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment