1
0
mirror of https://github.com/prirun/p50em.git synced 2026-03-26 10:02:19 +00:00

Emit mark parity space(s) in the "less than three" case, not space

parity ones.  Discovered by Daiyu.
This commit is contained in:
Dennis Boone
2021-07-27 14:59:27 -04:00
parent 256c72ca64
commit 0466b4b603

View File

@@ -1,5 +1,5 @@
/* utextp.c, Jim Wilcoxson, March 16, 2005
Reads a Unix text file and converts it to a compressed Prime text file.
Reads a Unix text file and converts it to a compressed Prime text file.
This means:
- turn high bit on
- expand Unix tabs to spaces
@@ -29,7 +29,7 @@ main () {
else { /* not a space character */
while (space) { /* dump held-back spaces first */
if (space < 3) { /* write regular spaces */
putchar(' ');
putchar(0240);
space--;
n++;
} else { /* write compressed spaces */