fixed a refer counter that was zero out, but it should be have set to 1

svn path=/trunk/; revision=25035
This commit is contained in:
Magnus Olsen 2006-12-03 15:42:12 +00:00
parent 3d923733e6
commit bdd9cf7f66

View file

@ -36,7 +36,9 @@ StartDirectDraw(LPDIRECTDRAW* iface, LPGUID lpGuid)
if (This->lpLink == NULL)
{
RtlZeroMemory(&ddgbl, sizeof(DDRAWI_DIRECTDRAW_GBL));
This->lpLcl->lpGbl->dwRefCnt++;
if (ddgbl.lpDDCBtmp == NULL)
{