gdi/mfdrv BS_PATTERN brushes

Huw D M Davies h.davies1 at physics.ox.ac.uk
Tue Nov 30 06:53:12 CST 2004


On Mon, Nov 29, 2004 at 09:16:49PM -0800, Walt Ogburn wrote:
>
> This fixes the problem that Emanuele Gisi reported last month in the Aloha
> problem.  With this patch BS_PATTERN brushes get created correctly and
> don't cause a locking problem.
>
> Changelog:
> Fix creation of BS_PATTERN brushes in mfdrv
> 
> 
> Index: dlls/gdi/mfdrv/objects.c
> ===================================================================
> RCS file: /home/wine/wine/dlls/gdi/mfdrv/objects.c,v
> retrieving revision 1.14
> diff -u -r1.14 objects.c
> --- dlls/gdi/mfdrv/objects.c    22 Nov 2004 18:19:59 -0000      1.14
> +++ dlls/gdi/mfdrv/objects.c    30 Nov 2004 06:10:03 -0000


> -           mr->rdFunction = META_DIBCREATEPATTERNBRUSH;
> +           mr->rdFunction = META_CREATEPATTERNBRUSH;

Does a BS_PATTERN brush really create a META_CREATEPATTERNBRUSH record
under Windows?

Huw.
-- 
Huw Davies
huw at codeweavers.com



More information about the wine-devel mailing list