msscript.ocx: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Alexandre Julliard 2019-06-13 08:46:04 +02:00
parent fb3cca30a6
commit e7ed15a16a
2 changed files with 3 additions and 1 deletions

View File

@ -3,5 +3,7 @@ RC_SRCS = msscript.rc
IDL_SRCS = msscript.idl
IMPORTS = gdi32 user32 ole32 oleaut32
EXTRADLLFLAGS = -mno-cygwin
C_SRCS = \
msscript.c

View File

@ -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;
}