http://bugs.winehq.org/show_bug.cgi?id=17183
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dylan.ah.smith@gmail.com Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1
--- Comment #8 from Dylan Smith dylan.ah.smith@gmail.com 2009-03-23 12:25:39 --- Specifically the problem is the lack of a semicolon after the font name.
For example, in the rich text file I attached there should be a semicolon after "Arial": {\fonttbl{\f0 Arial}}
The code in reader.c tried to handle this case by ungetting the '}' when it expected to receive the semicolon so that the token would be read in the proper place. Unfortunately this caused the read hook to decrement a stackTop variable twice, which keeps track of the nested group level from begin and end curly braces.
I created a patch that incremented the stackTop variable in this case, to fix the bug, then sent the patch to wine-patches.
richedit: Properly handle lack of semicolon after font name in rtf. (Bug 17183) http://www.winehq.org/pipermail/wine-patches/2009-March/070964.html