We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ac4e88 + d49faf8 commit 494c4f6Copy full SHA for 494c4f6
extern/ttconv/ttutil.cpp
@@ -76,7 +76,7 @@ void TTStreamWriter::putline(const char *a)
76
void replace_newlines_with_spaces(char *a) {
77
char* i = a;
78
while (*i != 0) {
79
- if (*i == '\n')
+ if (*i == '\r' || *i == '\n')
80
*i = ' ';
81
i++;
82
}
0 commit comments