From 2cb33838e4f0558bfc21b5096634d96e6e2e88f5 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 26 May 2008 18:51:15 +0000 Subject: [PATCH] =?UTF-8?q?Change=20the=20code=20a=20bit,=20as=20Herv?= =?UTF-8?q?=C3=A9=20Poussineau=20points=20out,=20the=20interrupt=20vector?= =?UTF-8?q?=20could=20in=20some=20cases=20be=20zero.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=33718 --- reactos/drivers/video/videoprt/interrupt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/video/videoprt/interrupt.c b/reactos/drivers/video/videoprt/interrupt.c index 6dd8e0f1fae..f27bb84162c 100644 --- a/reactos/drivers/video/videoprt/interrupt.c +++ b/reactos/drivers/video/videoprt/interrupt.c @@ -57,8 +57,8 @@ IntVideoPortSetupInterrupt( */ if (DriverExtension->InitializationData.HwInterrupt != NULL && - ConfigInfo->BusInterruptLevel != 0 && - ConfigInfo->BusInterruptVector != 0) + (ConfigInfo->BusInterruptLevel != 0 || + ConfigInfo->BusInterruptVector != 0)) { ULONG InterruptVector; KIRQL Irql;