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.
1 parent 96fb3a3 commit 77caea0Copy full SHA for 77caea0
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