d3dx9: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2c8c06054e
commit
aab980a162
|
@ -2202,7 +2202,7 @@ static D3DXHANDLE WINAPI d3dx_effect_GetParameterBySemantic(ID3DXEffect *iface,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!_strnicmp(temp_param->semantic, semantic, -1))
|
||||
if (!stricmp(temp_param->semantic, semantic))
|
||||
{
|
||||
TRACE("Returning parameter %p\n", temp_param);
|
||||
return get_parameter_handle(temp_param);
|
||||
|
@ -2225,7 +2225,7 @@ static D3DXHANDLE WINAPI d3dx_effect_GetParameterBySemantic(ID3DXEffect *iface,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!_strnicmp(temp_param->semantic, semantic, -1))
|
||||
if (!stricmp(temp_param->semantic, semantic))
|
||||
{
|
||||
TRACE("Returning parameter %p\n", temp_param);
|
||||
return get_parameter_handle(temp_param);
|
||||
|
|
Loading…
Reference in New Issue