Commit 7a4349bb authored by Daniel Santos's avatar Daniel Santos Committed by Alexandre Julliard

gdi32: Remove PS_USERSTYLE FIXME and workarounds.

parent f2ad9df4
......@@ -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;
......
......@@ -311,12 +311,6 @@ static void test_logpen(void)
break;
}
if (pen[i].style == PS_USERSTYLE)
{
todo_wine
ok(ext_pen.elp.elpPenStyle == pen[i].style, "expected %x, got %x\n", pen[i].style, ext_pen.elp.elpPenStyle);
}
else
ok(ext_pen.elp.elpPenStyle == pen[i].style, "expected %x, got %x\n", pen[i].style, ext_pen.elp.elpPenStyle);
ok(ext_pen.elp.elpWidth == 1, "expected 1, got %x\n", ext_pen.elp.elpWidth);
ok(ext_pen.elp.elpColor == pen[i].ret_color, "expected %08x, got %08x\n", pen[i].ret_color, ext_pen.elp.elpColor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment