From ae9a59ae05c3a066c4c8b83e5c08911f9f1b146e Mon Sep 17 00:00:00 2001 From: Vijay Kiran Kamuju Date: Fri, 12 Jun 2020 10:07:20 +0100 Subject: [PATCH] oleaut32: Include the leading '\1' in the CompObj stream name. Signed-off-by: Vijay Kiran Kamuju Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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