[PATCH] d3dx9_36: Fix typo in ID3DXFileDataImpl_GetName.

Christian Costa titan.costa at gmail.com
Wed May 8 12:54:34 CDT 2013


Le 08/05/2013 19:19, Dmitry Timoshkov a écrit :
> Christian Costa <titan.costa at gmail.com> wrote:
>
>> -    if (!name || !size)
>> +    if (!name && !size)
>>           return E_POINTER;
>>   
>>       dxfile_size = *size;
> So, what happens if name is not NULL, but size is?
>
Indeed I missed this type conversion line and expected 
IDirectXFile_GetName to handle it. Will send another patch. Thanks!



More information about the wine-devel mailing list