Fixed line endings.
This commit is contained in:
@@ -142,7 +142,7 @@ int main(int argc, char* argv[]) {
|
|||||||
size_t ff_pos = l.find('\f');
|
size_t ff_pos = l.find('\f');
|
||||||
if (!inserted && ff_pos != std::string::npos) {
|
if (!inserted && ff_pos != std::string::npos) {
|
||||||
std::string modified = l.substr(0, ff_pos) + insert_line + l.substr(ff_pos);
|
std::string modified = l.substr(0, ff_pos) + insert_line + l.substr(ff_pos);
|
||||||
outfile << modified << '\n';
|
outfile << modified;
|
||||||
inserted = true;
|
inserted = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user