diff options
Diffstat (limited to 'regexp.c')
-rw-r--r-- | regexp.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -50,7 +50,6 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle, int igno } while (regexec(re, s, FALSE, ignoreCase) == TRUE); /* copy stuff from after the match */ while ( (*d++ = *s++) ) {} - d[-1] = '\n'; d[0] = '\0'; strcpy(haystack, buf); } |