reactos/drivers/video/videoprt
diff -u -r1.3 -r1.3.2.1
--- dispatch.c 8 Apr 2004 09:43:55 -0000 1.3
+++ dispatch.c 8 Apr 2004 15:38:28 -0000 1.3.2.1
@@ -18,7 +18,7 @@
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id: dispatch.c,v 1.3 2004/04/08 09:43:55 navaraf Exp $
+ * $Id: dispatch.c,v 1.3.2.1 2004/04/08 15:38:28 gvg Exp $
*/
#include "videoprt.h"
@@ -49,9 +49,8 @@
DriverExtension = ResetDisplayParametersDeviceExtension->DriverExtension;
- ASSERT(DriverExtension->InitializationData.HwResetHw != NULL);
-
- if (!DriverExtension->InitializationData.HwResetHw(
+ if (NULL == DriverExtension->InitializationData.HwResetHw ||
+ !DriverExtension->InitializationData.HwResetHw(
&ResetDisplayParametersDeviceExtension->MiniPortDeviceExtension,
Columns, Rows))
{