[Bug 14674] Wine WordPad fails to correctly open CP1251 RTF documents with russian letter "ya"

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 3 00:44:16 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=14674


Dylan Smith <dylan.ah.smith at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|wine-bugs at winehq.org        |dylan.ah.smith at gmail.com
             Status|NEW                         |ASSIGNED




--- Comment #6 from Dylan Smith <dylan.ah.smith at gmail.com>  2008-10-03 00:44:16 ---
Created an attachment (id=16441)
 --> (http://bugs.winehq.org/attachment.cgi?id=16441)
richedit: Unsigned cast char to avoid EOF equality

The character appears to have a value of 0xFF which got confused with an EOF
macro of -1 in the rich test parsing code.  Casting the character to an
unsigned value before being stored in an int variable prevented this confusion.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list