msscript.ocx: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fb3cca30a6
commit
e7ed15a16a
|
@ -3,5 +3,7 @@ RC_SRCS = msscript.rc
|
|||
IDL_SRCS = msscript.idl
|
||||
IMPORTS = gdi32 user32 ole32 oleaut32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
|
||||
C_SRCS = \
|
||||
msscript.c
|
||||
|
|
|
@ -192,7 +192,7 @@ static struct named_item *host_get_named_item(ScriptHost *host, const WCHAR *nam
|
|||
struct named_item *item;
|
||||
|
||||
LIST_FOR_EACH_ENTRY(item, &host->named_items, struct named_item, entry) {
|
||||
if (!lstrcmpW(item->name, nameW))
|
||||
if (!wcscmp(item->name, nameW))
|
||||
return item;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue