tweaks: frob some whitespace, and rewrap a line
parent
088557c516
commit
44fb3e9991
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue