pen: fix niggly problem with hatches
Andrew de Quincey
adq_dvb at lidskialf.net
Fri Nov 28 19:25:12 CST 2003
Just a fix for an annoying niggle; the current code checks if brush->lbHatch
is nonnull. If it is, it assumes a hatch is being used, and prints a warning.
Some apps however (e.g. Xara X) have rubbish in the hatch part of the
structure when a hatch is not actually being used. This triggers an
unnecessary warning (_all_ the time in Xara X).
This patch makes sure the warning only appears if a hatch is REALLY being used
by testing the flags.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-pen-hatchcheck.patch
Type: text/x-diff
Size: 778 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031129/5249827e/wine-pen-hatchcheck.bin
More information about the wine-patches
mailing list