Check brush style before printing FIXME.

This commit is contained in:
Andrew de Quincey 2003-12-03 03:56:04 +00:00 committed by Alexandre Julliard
parent d105fe2169
commit 6dece12fde
1 changed files with 2 additions and 2 deletions

View File

@ -106,8 +106,8 @@ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width,
if ((style & PS_STYLE_MASK) == PS_USERSTYLE)
FIXME("PS_USERSTYLE not handled\n");
if ((style & PS_TYPE_MASK) == PS_GEOMETRIC)
if (brush->lbHatch)
FIXME("Hatches not implemented\n");
if (brush->lbHatch && ((brush->lbStyle == BS_SOLID) || (brush->lbStyle == BS_HOLLOW)))
FIXME("Hatches not implemented\n");
if (!(penPtr = GDI_AllocObject( sizeof(PENOBJ), PEN_MAGIC, (HGDIOBJ *)&hpen,
&pen_funcs ))) return 0;