Alexandre Julliard : msscript.ocx: Build with msvcrt.
Alexandre Julliard
julliard at winehq.org
Thu Jun 13 15:40:38 CDT 2019
Module: wine
Branch: master
Commit: e7ed15a16ad53ade1ec649f3a88fcb1293c7402d
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e7ed15a16ad53ade1ec649f3a88fcb1293c7402d
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jun 13 08:46:04 2019 +0200
msscript.ocx: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard at 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;
}
More information about the wine-cvs
mailing list