wordpad: Use unicode version of CBEM_GETITEM message.

Dylan Smith dylan.ah.smith at gmail.com
Thu Jan 8 13:17:55 CST 2009


The code assumes that a unicode string is being written to the buffer,
but this doesn't occur unless CBEM_GETITEMW is used instead of
CBEM_GETITEMA.

This bug can be seen by changing the font size on the toolbar, where
it will give an invalid number error.
---
 programs/wordpad/wordpad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wordpad-Use-unicode-version-of-CBEM_GETITEM-mess.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20090108/290299e5/attachment.txt 


More information about the wine-patches mailing list