From: Francois Gouget Date: Thu, 10 Sep 2009 15:58:18 +0000 (+0200) Subject: uninstaller: Perform a case-insensitive search for the application to uninstall. X-Git-Tag: wine-1.1.30~379 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=a4d391d65a74ff042f3af66d3afc90218b01019c;p=wine%2Feterwine.git uninstaller: Perform a case-insensitive search for the application to uninstall. Registry keys are case-insensitive so the match should be too. --- diff --git a/programs/uninstaller/main.c b/programs/uninstaller/main.c index 302d834ad0..912d23db0b 100644 --- a/programs/uninstaller/main.c +++ b/programs/uninstaller/main.c @@ -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;