From ccf041a14dd9462fb47ac3e28e20220529daf398 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 18 Nov 2005 12:06:57 +0000 Subject: [PATCH] Use case insensitive comparison to check file extensions. --- dlls/kernel/vxd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel/vxd.c b/dlls/kernel/vxd.c index 5f0617e277c..5d166849a12 100644 --- a/dlls/kernel/vxd.c +++ b/dlls/kernel/vxd.c @@ -201,7 +201,7 @@ HANDLE VXD_Open( LPCWSTR filenameW, DWORD access, SECURITY_ATTRIBUTES *sa ) strlwrW( name ); p = strchrW( name, '.' ); if (!p) strcatW( name, dotVxDW ); - else if (strcmpW( p, dotVxDW )) /* existing extension has to be .vxd */ + else if (strcmpiW( p, dotVxDW )) /* existing extension has to be .vxd */ { SetLastError( ERROR_FILE_NOT_FOUND ); return 0;