fix return code in ddraw.dll GetCaps.cbug spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)

svn path=/trunk/; revision=30706
This commit is contained in:
Magnus Olsen 2007-11-23 22:02:43 +00:00
parent cbf9e5b6d4
commit be9c3ff7cb

View file

@ -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 @@ Main_DirectDraw_GetCaps( LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps,
myCaps->ddsCaps.dwCaps4 = 0;
myCaps->dwSize = sizeof(DDCAPS_DX7);
retVal = DD_OK;
}
break;
@ -247,6 +249,8 @@ Main_DirectDraw_GetCaps( LPDDRAWI_DIRECTDRAW_INT This, LPDDCAPS pDriverCaps,
myCaps->ddsCaps.dwCaps4 = 0;
myCaps->dwSize = sizeof(DDCAPS_DX7);
retVal = DD_OK;
}
break;