Module: wine Branch: master Commit: 2e2278177c2637d32244bb97088e66b139523595 URL: https://source.winehq.org/git/wine.git/?a=commit;h=2e2278177c2637d32244bb970...
Author: Piotr Caban piotr@codeweavers.com Date: Mon Apr 1 18:50:37 2019 +0200
version: Don't use strncasecmp.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/version/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/version/version.c b/dlls/version/version.c index bd03b2b..0176713 100644 --- a/dlls/version/version.c +++ b/dlls/version/version.c @@ -870,7 +870,7 @@ static const VS_VERSION_INFO_STRUCT16 *VersionInfo16_FindChild( const VS_VERSION
while ((char *)child < (char *)info + info->wLength ) { - if (!strncasecmp( child->szKey, szKey, cbKey ) && !child->szKey[cbKey]) + if (!_strnicmp( child->szKey, szKey, cbKey ) && !child->szKey[cbKey]) return child;
if (!(child->wLength)) return NULL;