Author: greatlrd
Date: Sat Nov 24 01:02:43 2007
New Revision: 30706
URL:
http://svn.reactos.org/svn/reactos?rev=30706&view=rev
Log:
fix return code in ddraw.dll GetCaps.cbug spotted by Kamil Hornicek tykef at atlas dot cz
(irc nick : Pigglesworth)
Modified:
trunk/reactos/dll/directx/ddraw/Ddraw/GetCaps.c
Modified: trunk/reactos/dll/directx/ddraw/Ddraw/GetCaps.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Ddraw/Ge…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Ddraw/GetCaps.c (original)
+++ trunk/reactos/dll/directx/ddraw/Ddraw/GetCaps.c Sat Nov 24 01:02:43 2007
@@ -2,7 +2,7 @@
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS DirectX
- * FILE: ddraw/ddraw/ddraw_main.c
+ * FILE: ddraw/ddraw/GetCaps.c
* PURPOSE: IDirectDraw7 Implementation
* PROGRAMMER: Magnus Olsen
*
@@ -139,6 +139,8 @@
myCaps->ddsCaps.dwCaps4 = 0;
myCaps->dwSize = sizeof(DDCAPS_DX7);
+ retVal = DD_OK;
+
}
break;
@@ -246,6 +248,8 @@
myCaps->ddsCaps.dwCaps3 = 0;
myCaps->ddsCaps.dwCaps4 = 0;
myCaps->dwSize = sizeof(DDCAPS_DX7);
+
+ retVal = DD_OK;
}
break;