[ros-diffs] [greatlrd] 33241: fix a typo in function DxEngGetHdevData the sub function DxEGShDevData_OpenRefs did validate data bit wrong it should send back 0 for no openrefs and 1 for openrefs. thx Pigglesworth debuglog to found it.
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Fri May 2 19:47:47 CEST 2008
Author: greatlrd
Date: Fri May 2 12:47:46 2008
New Revision: 33241
URL: http://svn.reactos.org/svn/reactos?rev=33241&view=rev
Log:
fix a typo in function DxEngGetHdevData the sub function DxEGShDevData_OpenRefs did validate data bit wrong
it should send back 0 for no openrefs and 1 for openrefs.
thx Pigglesworth debuglog to found it.
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c?rev=33241&r1=33240&r2=33241&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] Fri May 2 12:47:46 2008
@@ -362,7 +362,7 @@
break;
case DxEGShDevData_OpenRefs:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_OpenRefs\n");
- retVal = (DWORD_PTR) PDev->cPdevOpenRefs == 0;
+ retVal = (DWORD_PTR) PDev->cPdevOpenRefs != 0;
break;
case DxEGShDevData_palette:
DPRINT1("requested DXEGSHDEVDATA DxEGShDevData_palette\n");
More information about the Ros-diffs
mailing list