mirror of
https://github.com/eddyem/tty_term.git
synced 2025-12-06 02:25:11 +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;
|
||||
break;
|
||||
case 'N': // none
|
||||
f |= PARENB | PARODD;
|
||||
break;
|
||||
case 'O': // odd
|
||||
f |= PARENB | PARODD;
|
||||
break;
|
||||
default:
|
||||
goto someerr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user