From 3167958b3be3adff31e773ce1de0d1bae5e0cd03 Mon Sep 17 00:00:00 2001 From: Cihan Altinay Date: Tue, 15 Nov 2005 16:51:28 +0000 Subject: [PATCH] Disable PARMRK input flag of serial ports. --- dlls/kernel/comm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel/comm.c b/dlls/kernel/comm.c index 7fabf1bbbed..1de361b1b61 100644 --- a/dlls/kernel/comm.c +++ b/dlls/kernel/comm.c @@ -1101,9 +1101,9 @@ BOOL WINAPI SetCommState( port.c_cc[VTIME] = 1; #ifdef IMAXBEL - port.c_iflag &= ~(ISTRIP|BRKINT|IGNCR|ICRNL|INLCR|IMAXBEL); + port.c_iflag &= ~(ISTRIP|BRKINT|IGNCR|ICRNL|INLCR|PARMRK|IMAXBEL); #else - port.c_iflag &= ~(ISTRIP|BRKINT|IGNCR|ICRNL|INLCR); + port.c_iflag &= ~(ISTRIP|BRKINT|IGNCR|ICRNL|INLCR|PARMRK); #endif port.c_iflag |= (IGNBRK);