Module: wine Branch: master Commit: e7ed15a16ad53ade1ec649f3a88fcb1293c7402d URL: https://source.winehq.org/git/wine.git/?a=commit;h=e7ed15a16ad53ade1ec649f3a...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jun 13 08:46:04 2019 +0200
msscript.ocx: Build with msvcrt.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/msscript.ocx/Makefile.in | 2 ++ dlls/msscript.ocx/msscript.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/msscript.ocx/Makefile.in b/dlls/msscript.ocx/Makefile.in index 7d76896..304b924 100644 --- a/dlls/msscript.ocx/Makefile.in +++ b/dlls/msscript.ocx/Makefile.in @@ -3,5 +3,7 @@ RC_SRCS = msscript.rc IDL_SRCS = msscript.idl IMPORTS = gdi32 user32 ole32 oleaut32
+EXTRADLLFLAGS = -mno-cygwin + C_SRCS = \ msscript.c diff --git a/dlls/msscript.ocx/msscript.c b/dlls/msscript.ocx/msscript.c index 459c35a..fb3ad08 100644 --- a/dlls/msscript.ocx/msscript.c +++ b/dlls/msscript.ocx/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; }