Author: tkreuzer Date: Sun Jun 6 22:56:58 2010 New Revision: 47638
URL: http://svn.reactos.org/svn/reactos?rev=47638&view=rev Log: [WIN32K] Make the bitmap data for the extpens (making extpens bitmaps is a bad idea anyway) 4 bytes long instead of 3, to fulfill alignment requirements.
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/pen.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/pen.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/objects/pen.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/objects/pen.c [iso-8859-1] Sun Jun 6 22:56:58 2010 @@ -63,11 +63,11 @@ { HPEN hPen; PBRUSH pbrushPen; - static const BYTE PatternAlternate[] = {0x55, 0x55, 0x55}; - static const BYTE PatternDash[] = {0xFF, 0xFF, 0xC0}; - static const BYTE PatternDot[] = {0xE3, 0x8E, 0x38}; - static const BYTE PatternDashDot[] = {0xFF, 0x81, 0xC0}; - static const BYTE PatternDashDotDot[] = {0xFF, 0x8E, 0x38}; + static const BYTE PatternAlternate[] = {0x55, 0x55, 0x55, 0}; + static const BYTE PatternDash[] = {0xFF, 0xFF, 0xC0, 0}; + static const BYTE PatternDot[] = {0xE3, 0x8E, 0x38, 0}; + static const BYTE PatternDashDot[] = {0xFF, 0x81, 0xC0, 0}; + static const BYTE PatternDashDotDot[] = {0xFF, 0x8E, 0x38, 0};
dwWidth = abs(dwWidth);