Rob Shearman : oleaut32: Fix IFont::AddRefHFont and IFont::ReleaseRefHFont.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 20 14:18:51 CST 2007


Module: wine
Branch: master
Commit: 4c40b3974ced816e3a155418830f4f69927b25b3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4c40b3974ced816e3a155418830f4f69927b25b3

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Feb 19 21:45:12 2007 +0000

oleaut32: Fix IFont::AddRefHFont and IFont::ReleaseRefHFont.

The tests show that there is a global cache that keeps references to 
HFONTs that is released when all IFont objects are released.
(Based on a patch by Benjamin Arai.)

---

 dlls/oleaut32/olefont.c       |  151 +++++++++++++++++++++++++++++++++--------
 dlls/oleaut32/tests/olefont.c |   66 ++++++++----------
 2 files changed, 151 insertions(+), 66 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=4c40b3974ced816e3a155418830f4f69927b25b3



More information about the wine-cvs mailing list