diff options
author | John Ankarström <john@ankarstrom.se> | 2020-10-23 02:12:30 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2020-10-23 02:12:30 +0200 |
commit | 4605b90ff1e0de5b12e04647cd5dacd9848a9a74 (patch) | |
tree | 4fc6bcadbeabaea9c3941047123ed462b8087ca9 /src/tt.output.c | |
parent | c3143fbdb7ea46539023e11cb30a7b14434030f3 (diff) | |
download | tt-master.tar.gz |
Diffstat (limited to 'src/tt.output.c')
-rw-r--r-- | src/tt.output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tt.output.c b/src/tt.output.c index b1d8e34..5cfa5b6 100644 --- a/src/tt.output.c +++ b/src/tt.output.c @@ -65,6 +65,7 @@ while ((b = fgetc(fo)) != EOF) { c = b; + if (c == '\r') continue; if (c != '\n') { if (line_l + 1 > line_s) { line_s += 20; |