forked from Mirrors/wine-wine
Parity settings were not set properly in BuildCommDCBAndTimeouts()
because of an off-by-one error.oldstable
parent
9dea5b3ac8
commit
d13e6a9a93
|
@ -297,7 +297,7 @@ BOOL WINAPI BuildCommDCBAndTimeoutsA(
|
|||
}
|
||||
if (!strncmp("parity=",ptr,7)) {
|
||||
lpdcb->fParity = TRUE;
|
||||
switch (ptr[8]) {
|
||||
switch (ptr[7]) {
|
||||
case 'N':case 'n':
|
||||
lpdcb->fParity = FALSE;
|
||||
lpdcb->Parity = NOPARITY;
|
||||
|
|
Loading…
Reference in New Issue