Vijay Kiran Kamuju : oleaut32: Include the leading '\1' in the CompObj stream name.
Alexandre Julliard
julliard at winehq.org
Fri Jun 12 16:01:17 CDT 2020
Module: wine
Branch: master
Commit: ae9a59ae05c3a066c4c8b83e5c08911f9f1b146e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ae9a59ae05c3a066c4c8b83e5c08911f9f1b146e
Author: Vijay Kiran Kamuju <infyquest at gmail.com>
Date: Fri Jun 12 10:07:20 2020 +0100
oleaut32: Include the leading '\1' in the CompObj stream name.
Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/typelib.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index 521d176bfe..515d4b557e 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -326,12 +326,11 @@ typedef struct {
/* These then get followed by this magic */
typedef struct {
-/*00*/ BYTE res00; /* always 0x01 */
-/*01*/ CHAR CompObj_magic[8]; /* always "CompObj" */
+/*00*/ CHAR CompObj_magic[9]; /* always "\1CompObj" */
/*09*/ CHAR dir_magic[4]; /* always "dir" */
} SLTG_Magic;
-#define SLTG_COMPOBJ_MAGIC "CompObj"
+#define SLTG_COMPOBJ_MAGIC "\1CompObj"
#define SLTG_DIR_MAGIC "dir"
/* Next we have SLTG_Header.nrOfFileBlks - 2 of Index strings. These
More information about the wine-cvs
mailing list