[PATCH 2/6] gdi32: Pass the byte count to FONT_mbtowc in GetCharABCWidthsA.
Akihiro Sagawa
sagawa.aki at gmail.com
Sun Jan 16 08:00:18 CST 2011
If firstChar argument is 0, a str variable begins with '\0'. In this case,
FONT_mbtowc miscalculates the length.
This fixes a regression introduced by 5c987fc57403a4ed26cd35b33318069913a66ab6.
---
dlls/gdi32/font.c | 2 +-
dlls/gdi32/tests/font.c | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gdi32-Pass-the-byte-count-to-FONT_mbtowc-in-GetCharA.patch
Type: text/x-patch
Size: 961 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110116/f8b5dc6f/attachment.bin>
More information about the wine-patches
mailing list