FreeCalypso > hg > freecalypso-tools
comparison miscutil/mokosrec2bin.c @ 626:d00ffedacab5
mokosrec2bin: default fill byte changed to 0xFF
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 28 Feb 2020 05:59:53 +0000 |
parents | a5dab452be0d |
children |
comparison
equal
deleted
inserted
replaced
625:7ef3343161d6 | 626:d00ffedacab5 |
---|---|
126 if (i >= 0) | 126 if (i >= 0) |
127 fillbyte = i; | 127 fillbyte = i; |
128 else | 128 else |
129 goto usage; | 129 goto usage; |
130 } else | 130 } else |
131 fillbyte = 0; | 131 fillbyte = 0xFF; |
132 | 132 |
133 state = 0; | 133 state = 0; |
134 for (lineno = 1; ; lineno++) { | 134 for (lineno = 1; ; lineno++) { |
135 if (!fgets(srecbuf, sizeof srecbuf, inf)) { | 135 if (!fgets(srecbuf, sizeof srecbuf, inf)) { |
136 fprintf(stderr, "%s: premature EOF\n", infname); | 136 fprintf(stderr, "%s: premature EOF\n", infname); |