http://bugs.winehq.org/show_bug.cgi?id=14674
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |dylan.ah.smith@gmail.com Status|NEW |ASSIGNED
--- Comment #6 from Dylan Smith dylan.ah.smith@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.