uninstaller: Perform a case-insensitive search for the application to uninstall.

Registry keys are case-insensitive so the match should be too.
oldstable
Francois Gouget 2009-09-10 17:58:18 +02:00 committed by Alexandre Julliard
parent 7170a20239
commit a4d391d65a
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ static void RemoveSpecificProgram(WCHAR *nameW)
for (i=0; i < numentries; i++)
{
if (lstrcmpW(entries[i].key, nameW) == 0)
if (CompareStringW(GetThreadLocale(), NORM_IGNORECASE, entries[i].key, -1, nameW, -1) == CSTR_EQUAL)
{
entries[i].active++;
break;