Re: [1/2] winex11.drv: Add PS_USERSTYLE support to pens (take 2)
15 Feb
2011
15 Feb
'11
4:43 p.m.
Daniel <danielfsantos(a)att.net> writes:
@@ -54,11 +56,13 @@ HPEN CDECL X11DRV_SelectPen( X11DRV_PDEVICE *physDev, HPEN hpen ) elp = HeapAlloc( GetProcessHeap(), 0, size );
GetObjectW( hpen, size, elp ); - /* FIXME: add support for user style pens */ + logpen.lopnStyle = elp->elpPenStyle; logpen.lopnWidth.x = elp->elpWidth; logpen.lopnWidth.y = 0; logpen.lopnColor = elp->elpColor; + user_style_size = elp->elpNumEntries; + user_style = elp->elpStyleEntry;
This can't work, the data will be freed before you use it. -- Alexandre Julliard julliard(a)winehq.org
5418
Age (days ago)
5418
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard