Commit in reactos/drivers/video/videoprt on ros-branch-0_2_2
dispatch.c+3-41.3 -> 1.3.2.1
HwResetHw can be (and sometimes is) NULL

reactos/drivers/video/videoprt
dispatch.c 1.3 -> 1.3.2.1
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))
    {
CVSspam 0.2.8