atl: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6e0a5b81a4
commit
d9db7faf6c
|
@ -161,7 +161,7 @@ static HRESULT do_preprocess(const Registrar *This, LPCOLESTR data, strbuf *buf)
|
|||
}else {
|
||||
for(rep_iter = This->rep; rep_iter; rep_iter = rep_iter->next) {
|
||||
if(rep_iter->key_len == iter-iter2
|
||||
&& !memicmpW(iter2, rep_iter->key, rep_iter->key_len))
|
||||
&& !strncmpiW(iter2, rep_iter->key, rep_iter->key_len))
|
||||
break;
|
||||
}
|
||||
if(!rep_iter) {
|
||||
|
|
Loading…
Reference in New Issue