urlmon: Make name spaces comparison case insensitive.

This commit is contained in:
Piotr Caban 2012-03-15 12:08:18 +01:00 committed by Alexandre Julliard
parent 6dfa25d0cd
commit 59c9b1070c
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ static name_space *find_name_space(LPCWSTR protocol)
name_space *iter;
LIST_FOR_EACH_ENTRY(iter, &name_space_list, name_space, entry) {
if(!strcmpW(iter->protocol, protocol))
if(!strcmpiW(iter->protocol, protocol))
return iter;
}
@ -148,7 +148,7 @@ static HRESULT unregister_namespace(IClassFactory *cf, LPCWSTR protocol)
EnterCriticalSection(&session_cs);
LIST_FOR_EACH_ENTRY(iter, &name_space_list, name_space, entry) {
if(iter->cf == cf && !strcmpW(iter->protocol, protocol)) {
if(iter->cf == cf && !strcmpiW(iter->protocol, protocol)) {
list_remove(&iter->entry);
LeaveCriticalSection(&session_cs);