oleaut32: Fix IFont::AddRefHFont and IFont::ReleaseRefHFont.
authorRob Shearman <rob@codeweavers.com>
Mon, 19 Feb 2007 21:45:12 +0000 (21:45 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Feb 2007 19:23:24 +0000 (20:23 +0100)
commit4c40b3974ced816e3a155418830f4f69927b25b3
tree16ed7c17aa280692407a0a6fafa74dce818880b3
parent0b43e9b552252f3630350f89a5ee06c59fc3d7a1
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
dlls/oleaut32/tests/olefont.c