fix small bug with oddity

This commit is contained in:
Edward Emelianov 2023-12-06 12:10:00 +03:00
parent 33658a57a4
commit 45bef4887c

View File

@ -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;