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
|
/* And if create is TRUE, append the result of the
|
||||||
* subexpression match to the new line. */
|
* subexpression match to the new line. */
|
||||||
if (create) {
|
if (create) {
|
||||||
strncpy(string, openfile->current->data +
|
strncpy(string, openfile->current->data + regmatches[num].rm_so, i);
|
||||||
regmatches[num].rm_so, i);
|
|
||||||
string += i;
|
string += i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue