mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 05:53:31 +08:00
[WINESYNC] 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> wine commit id aab980a16253ff6bb6286572576899bfc0f83945 by Paul Gofman <gofmanp@gmail.com>
This commit is contained in:
parent
51b2c71b54
commit
67c812be35
@ -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);
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user