itss: Remove unwanted null terminators
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Sep 23 03:47:30 CDT 2006
Changelog:
itss: Remove unwanted null terminators.
diff -urN a/dlls/itss/chm_lib.c b/dlls/itss/chm_lib.c
--- a/dlls/itss/chm_lib.c 2005-08-29 10:38:19.000000000 +0100
+++ b/dlls/itss/chm_lib.c 2006-09-23 09:31:38.000000000 +0100
@@ -365,7 +365,7 @@
}
/* structure of PMGL headers */
-static const char _chm_pmgl_marker[4] = "PMGL";
+static const char _chm_pmgl_marker[4] = {'P','M','G','L'};
#define _CHM_PMGL_LEN (0x14)
struct chmPmglHeader
{
@@ -399,7 +399,7 @@
}
/* structure of PMGI headers */
-static const char _chm_pmgi_marker[4] = "PMGI";
+static const char _chm_pmgi_marker[4] = {'P','M','G','I'};
#define _CHM_PMGI_LEN (0x08)
struct chmPmgiHeader
{
More information about the wine-patches
mailing list