Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ac4e88 + d49faf8 commit 494c4f6Copy full SHA for 494c4f6
1 file changed
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