Ticket #2952: respect_empty_matches.patch
File respect_empty_matches.patch, 302 bytes (added by boris, 9 years ago) |
---|
-
lib/search/regex.c
a b 370 370 #endif /* SEARCH_TYPE_GLIB */ 371 371 372 372 if (fnd_end - fnd_start == 0) 373 return NULL; 373 { 374 fnd_end = fnd_start = 0; 375 } 374 376 375 377 return g_strndup (lc_mc_search->regex_buffer->str + fnd_start, fnd_end - fnd_start); 376 378