[PATCH v2 2/2] oleaut32: Include the leading '\1' in the CompObj stream name.
Huw Davies
huw at codeweavers.com
Fri Jun 12 04:07:20 CDT 2020
From: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
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 521d176bfe1..515d4b557e6 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
--
2.23.0
More information about the wine-devel
mailing list