Stefan Dösinger : ddraw: Correct a NULL pointer check.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jun 29 08:32:00 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: a509aabb97b89d7d64516a4837ad9ff7375a2f8f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a509aabb97b89d7d64516a4837ad9ff7375a2f8f
Author: Stefan Dösinger <stefandoesinger at gmx.at>
Date: Wed Jun 28 19:45:49 2006 +0200
ddraw: Correct a NULL pointer check.
---
dlls/ddraw/vertexbuffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/vertexbuffer.c b/dlls/ddraw/vertexbuffer.c
index 01db5d5..51dcc5e 100644
--- a/dlls/ddraw/vertexbuffer.c
+++ b/dlls/ddraw/vertexbuffer.c
@@ -214,7 +214,7 @@ IDirect3DVertexBufferImpl_Lock(IDirect3D
HRESULT hr;
TRACE("(%p)->(%08lx,%p,%p)\n", This, Flags, Data, Size);
- if(*Size)
+ if(Size)
{
/* Get the size, for returning it, and for locking */
hr = IWineD3DVertexBuffer_GetDesc(This->wineD3DVertexBuffer,
More information about the wine-cvs
mailing list