[PATCH 1/4] gdi32: Don't add duplicate system_links entries

Paul TBBle Hampson Paul.Hampson at Pobox.com
Thu Apr 16 19:23:20 CDT 2009

This patch fixes up a slight issue I came across while researching
bug 18044.

Basically, we were storing FontLinks by substituted name, without
checking if another entry had been created for that substituted name.

An alternative solution would be to ignore entries that turned out
to be for substituted name, as with this method FontLinks for MS Shell
Dlg may override the entry for Tahoma, if both exist.

Typically, entries for substitutee names probably shouldn't exist.

Updated to do a case-insensitive check, as is done for the Tahoma
check that follows it.

Paul "TBBle" Hampson, Paul.Hampson at Pobox.com

Shorter .sig for a more eco-friendly paperless office.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gdi32-Don-t-add-duplicate-system_links-entries.patch
Type: text/x-diff
Size: 2058 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090417/ce3c1a5d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090417/ce3c1a5d/attachment.pgp>

More information about the wine-patches mailing list