WINED3D: Fix a possible null dereference (try 2)

H. Verbeet hverbeet at gmail.com
Sat Apr 19 12:06:07 CDT 2008


On 19/04/2008, David Adam <david.adam.cnrs at gmail.com> wrote:
> This time, with tests for d3d8 and d3d9.
>
> David Adam
>

Looks mostly ok, but you do need a \n at the end of these ok messages:
> +    ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %s",  DXGetErrorString8(hr));
> +    ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %s",  DXGetErrorString9(hr));

> - * Copyright (C) 2006-2007 Stefan Dösinger(For CodeWeavers)
> + * Copyright (C) 2006-2007 Stefan D�singer(For CodeWeavers)
Try not to change the encoding of the file.
I'm not sure if we ever considered simply using UTF-8 for source
files, but it would probably prevent some issues like this.



More information about the wine-patches mailing list