# HG changeset patch # User Matti Hamalainen # Date 1506275332 -10800 # Node ID 558776ee96039987e0ce0bd2fc3e3a2955a3f7b4 # Parent b6782b785457c4952d768de23bf784726fc90aad Cosmetics. diff -r b6782b785457 -r 558776ee9603 tools/lib64gfx.c --- a/tools/lib64gfx.c Sun Sep 24 19:51:23 2017 +0300 +++ b/tools/lib64gfx.c Sun Sep 24 20:48:52 2017 +0300 @@ -319,10 +319,9 @@ static int fmtProbeDrazLace10Packed(const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt) { - const char *ident = (const char *) buf + 2; if (len > 22 && dmCompareAddr16(buf, 0, fmt->addr) && - strncmp(ident, "DRAZLACE! 1.0", 13) == 0) + strncmp((const char *) (buf + 2), "DRAZLACE! 1.0", 13) == 0) return DM_PROBE_SCORE_MAX; return DM_PROBE_SCORE_FALSE; @@ -729,7 +728,7 @@ { DT_COLOR_RAM, XX2_BSIZE + XX2_SIZE, 0, XX2_SIZE, NULL, NULL }, { DT_SCREEN_RAM, XX2_BSIZE, 0, XX2_SIZE, NULL, NULL }, - { DT_COLOR_SET, 11 , 0, DC_BGCOL, NULL, NULL }, + { DT_COLOR_SET, 11, 0, DC_BGCOL, NULL, NULL }, { DT_LAST, 0, 0, 0, NULL, NULL }, } },