richedit: Unsigned cast char to avoid EOF equality (Fixes bug 14674)

Dylan Smith dylan.ah.smith at gmail.com
Fri Oct 3 00:44:53 CDT 2008


When the rtf reader encounters a character with a value of 0xFF
(e.g. the russian letter "ya" in cope page 1251) it must be stored as an
unsigned value to avoid being interpreted as -1 which is used to
indicate EOF.
---
 dlls/riched20/reader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Unsigned-cast-char-to-avoid-EOF-equalit.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081003/919c0b8f/attachment.txt 


More information about the wine-patches mailing list