Commit aab980a1 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

d3dx9: Use stricmp() instead of _strnicmp(..., -1).

parent 2c8c0605
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment