tweaks: frob some whitespace, and rewrap a line

master
Benno Schulenberg 2021-05-07 12:33:22 +02:00
parent 088557c516
commit 44fb3e9991
1 changed files with 6 additions and 7 deletions

View File

@ -473,8 +473,7 @@ int replace_regexp(char *string, bool create)
/* And if create is TRUE, append the result of the
* subexpression match to the new line. */
if (create) {
strncpy(string, openfile->current->data +
regmatches[num].rm_so, i);
strncpy(string, openfile->current->data + regmatches[num].rm_so, i);
string += i;
}
}