From fb50426533d4b571b71a995f1a199ecff5c7206a Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Fri, 13 Aug 2004 19:44:49 +0000 Subject: [PATCH] Make pattern brush data const. --- dlls/comctl32/imagelist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c index d0fff569d6f..579de3ffe1a 100644 --- a/dlls/comctl32/imagelist.c +++ b/dlls/comctl32/imagelist.c @@ -554,10 +554,10 @@ ImageList_Create (INT cx, INT cy, UINT flags, INT nCount; HBITMAP hbmTemp; UINT ilc = (flags & 0xFE); - static WORD aBitBlend25[] = + static const WORD aBitBlend25[] = {0xAA, 0x00, 0x55, 0x00, 0xAA, 0x00, 0x55, 0x00}; - static WORD aBitBlend50[] = + static const WORD aBitBlend50[] = {0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA}; TRACE("(%d %d 0x%x %d %d)\n", cx, cy, flags, cInitial, cGrow); -- 2.11.4.GIT