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

Signed-off-by: Paul Gofman <[email protected]>
Signed-off-by: Matteo Bruni <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id aab980a16253ff6bb6286572576899bfc0f83945 by Paul Gofman <[email protected]>
This commit is contained in:
winesync
2021-02-04 16:37:06 +01:00
committed by Jérôme Gardou
parent 51b2c71b54
commit 67c812be35
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2206,7 +2206,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);
@@ -2229,7 +2229,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);
+1 -1
View File
@@ -15,4 +15,4 @@ files: {include/d3dx9.h: sdk/include/dxsdk/d3dx9.h, include/d3dx9anim.h: sdk/inc
include/d3dx9mesh.h: sdk/include/dxsdk/d3dx9mesh.h, include/d3dx9of.h: sdk/include/dxsdk/d3dx9of.h,
include/d3dx9shader.h: sdk/include/dxsdk/d3dx9shader.h, include/d3dx9shape.h: sdk/include/dxsdk/d3dx9shape.h,
include/d3dx9tex.h: sdk/include/dxsdk/d3dx9tex.h, include/d3dx9xof.h: sdk/include/dxsdk/d3dx9xof.h}
tags: {wine: 2b5b069dd70ba328dc0ce660861ad802feae912c}
tags: {wine: aab980a16253ff6bb6286572576899bfc0f83945}