mirror of
https://github.com/eddyem/tty_term.git
synced 2025-12-06 10:35:12 +03:00
fix small bug with oddity
This commit is contained in:
parent
33658a57a4
commit
45bef4887c
@ -300,9 +300,9 @@ static char *parse_format(const char *iformat, tcflag_t *flags){
|
|||||||
f |= PARENB;
|
f |= PARENB;
|
||||||
break;
|
break;
|
||||||
case 'N': // none
|
case 'N': // none
|
||||||
f |= PARENB | PARODD;
|
|
||||||
break;
|
break;
|
||||||
case 'O': // odd
|
case 'O': // odd
|
||||||
|
f |= PARENB | PARODD;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
goto someerr;
|
goto someerr;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user