mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
HwResetHw can be (and sometimes is) NULL
svn path=/trunk/; revision=9030
This commit is contained in:
parent
7cb3dcec2c
commit
9358255f84
1 changed files with 3 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
||||||
* If not, write to the Free Software Foundation,
|
* If not, write to the Free Software Foundation,
|
||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* 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.4 2004/04/08 15:36:36 gvg Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "videoprt.h"
|
#include "videoprt.h"
|
||||||
|
@ -49,9 +49,8 @@ IntVideoPortResetDisplayParameters(ULONG Columns, ULONG Rows)
|
||||||
|
|
||||||
DriverExtension = ResetDisplayParametersDeviceExtension->DriverExtension;
|
DriverExtension = ResetDisplayParametersDeviceExtension->DriverExtension;
|
||||||
|
|
||||||
ASSERT(DriverExtension->InitializationData.HwResetHw != NULL);
|
if (NULL == DriverExtension->InitializationData.HwResetHw ||
|
||||||
|
!DriverExtension->InitializationData.HwResetHw(
|
||||||
if (!DriverExtension->InitializationData.HwResetHw(
|
|
||||||
&ResetDisplayParametersDeviceExtension->MiniPortDeviceExtension,
|
&ResetDisplayParametersDeviceExtension->MiniPortDeviceExtension,
|
||||||
Columns, Rows))
|
Columns, Rows))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue