mirror of
https://github.com/rcornwell/sims.git
synced 2026-03-11 12:45:23 +00:00
I7000: Cleanup some possible bad code in 7090 LPR.
This commit is contained in:
@@ -204,9 +204,10 @@ print_line(UNIT * uptr, int chan, int unit)
|
||||
else {
|
||||
if (bcd == 020)
|
||||
bcd = 10;
|
||||
if (uptr->u5 & LPRSTA_BINMODE)
|
||||
lpr_data[unit].lbuff[i++] = (buff[i] != 0)?'1':' ';
|
||||
else
|
||||
if (uptr->u5 & LPRSTA_BINMODE) {
|
||||
char ch = (buff[i] != 0) ? '1' : ' ';
|
||||
lpr_data[unit].lbuff[i++] = ch;
|
||||
} else
|
||||
lpr_data[unit].lbuff[i++] = sim_six_to_ascii[bcd];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user