riched20: Always treat the nCount variable in the EM_GETTEXTEX handler as a character count.

Robert Shearman rob at codeweavers.com
Fri Jan 18 07:24:26 CST 2008


Convert ex->cb into a character count before assigning it to nCount.

Remove some dubious minus ones that would result in different character 
counts for the Unicode and ANSI paths.
---
  dlls/riched20/editor.c |   10 ++++++----
  1 files changed, 6 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 45853f92e2a11f524c21a6e5570839b3d6a440c1.diff
Type: text/x-patch
Size: 1735 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080118/0d51c071/attachment.bin 


More information about the wine-patches mailing list