Skip to content

Commit

Permalink
d3dx9: Use stricmp() instead of _strnicmp(..., -1).
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gofman <[email protected]>
Signed-off-by: Matteo Bruni <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
  • Loading branch information
gofman authored and julliard committed Mar 27, 2020
1 parent 2c8c060 commit aab980a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlls/d3dx9_36/effect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit aab980a

Please sign in to comment.