http://bugs.winehq.org/show_bug.cgi?id=13672
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |dylan.ah.smith@gmail.com Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1
--- Comment #1 from Dylan Smith dylan.ah.smith@gmail.com 2008-10-28 17:16:16 --- Created an attachment (id=16955) --> (http://bugs.winehq.org/attachment.cgi?id=16955) richedit: Handle negative position given to EM_POSFROMCHAR.
The position given on the EM_POSFROMCHAR message was -1, and this case simply wasn't handled, so it caused an assertion failure. This patch uses a minimum position of 0 to handle this case.