>From c7a12f2601916e2258462519c5f4454f6626e893 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Wed, 12 Oct 2011 16:40:03 -0500 Subject: gdi32: remove PS_USERSTYLE FIXME and work-arounds MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.7.3.4" This is a multi-part message in MIME format. --------------1.7.3.4 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit --- dlls/gdi32/pen.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) --------------1.7.3.4 Content-Type: text/x-patch; name="0002-gdi32-remove-PS_USERSTYLE-FIXME-and-work-arounds.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0002-gdi32-remove-PS_USERSTYLE-FIXME-and-work-arounds.txt" diff --git a/dlls/gdi32/pen.c b/dlls/gdi32/pen.c index 425b5aa..1f92b87 100644 --- a/dlls/gdi32/pen.c +++ b/dlls/gdi32/pen.c @@ -115,8 +115,6 @@ HPEN WINAPI CreatePenIndirect( const LOGPEN * pen ) /*********************************************************************** * ExtCreatePen (GDI32.@) - * - * FIXME: PS_USERSTYLE not handled */ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width, @@ -137,13 +135,7 @@ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width, return 0; } - if ((style & PS_TYPE_MASK) == PS_COSMETIC) - { - /* FIXME: PS_USERSTYLE workaround */ - FIXME("PS_COSMETIC | PS_USERSTYLE not handled\n"); - style = (style & ~PS_STYLE_MASK) | PS_SOLID; - } - else + if ((style & PS_TYPE_MASK) == PS_GEOMETRIC) { UINT i; BOOL has_neg = FALSE, all_zero = TRUE; --------------1.7.3.4--