mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:36:04 +00:00
[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. svn path=/branches/reactos-yarotows/; revision=47638
This commit is contained in:
parent
dd95ec9a50
commit
9a05924c62
1 changed files with 5 additions and 5 deletions
|
@ -63,11 +63,11 @@ IntGdiExtCreatePen(
|
||||||
{
|
{
|
||||||
HPEN hPen;
|
HPEN hPen;
|
||||||
PBRUSH pbrushPen;
|
PBRUSH pbrushPen;
|
||||||
static const BYTE PatternAlternate[] = {0x55, 0x55, 0x55};
|
static const BYTE PatternAlternate[] = {0x55, 0x55, 0x55, 0};
|
||||||
static const BYTE PatternDash[] = {0xFF, 0xFF, 0xC0};
|
static const BYTE PatternDash[] = {0xFF, 0xFF, 0xC0, 0};
|
||||||
static const BYTE PatternDot[] = {0xE3, 0x8E, 0x38};
|
static const BYTE PatternDot[] = {0xE3, 0x8E, 0x38, 0};
|
||||||
static const BYTE PatternDashDot[] = {0xFF, 0x81, 0xC0};
|
static const BYTE PatternDashDot[] = {0xFF, 0x81, 0xC0, 0};
|
||||||
static const BYTE PatternDashDotDot[] = {0xFF, 0x8E, 0x38};
|
static const BYTE PatternDashDotDot[] = {0xFF, 0x8E, 0x38, 0};
|
||||||
|
|
||||||
dwWidth = abs(dwWidth);
|
dwWidth = abs(dwWidth);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue