aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tecparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tecparse.c b/tecparse.c
index a1426fa..a2ee4da 100644
--- a/tecparse.c
+++ b/tecparse.c
@@ -1013,7 +1013,7 @@ char inbuf[4];
intr_flag = 0;
if(i != EOF){
- inbuf[0] = i;
+ inbuf[0] = i == '\r' ? '\n' : i;
break;
}
#endif