mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-09 20:04:09 +03:00
Ticket #409: search: build failure on glib <2.14
During constant renaming #ifdef'ed path was broken. Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This commit is contained in:
parent
6ee0ed5750
commit
f4611f3651
@ -253,7 +253,7 @@ mc_search__regex_found_cond_one (mc_search_t * mc_search, mc_search_regex_t * re
|
|||||||
#if HAVE_LIBPCRE
|
#if HAVE_LIBPCRE
|
||||||
mc_search->num_rezults = pcre_exec (regex, mc_search->regex_match_info,
|
mc_search->num_rezults = pcre_exec (regex, mc_search->regex_match_info,
|
||||||
search_str->str, search_str->len, 0, 0, mc_search->iovector,
|
search_str->str, search_str->len, 0, 0, mc_search->iovector,
|
||||||
MC_SEARCH__PCRE_MAX_MATCHES);
|
MC_SEARCH__NUM_REPLACE_ARGS);
|
||||||
if (mc_search->num_rezults < 0) {
|
if (mc_search->num_rezults < 0) {
|
||||||
return COND__NOT_FOUND;
|
return COND__NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user