richedit: Fixed bugs in handling unterminated nested tables in RTF.

Dylan Smith dylan.ah.smith at
Wed Sep 10 20:42:40 CDT 2008

Previously I was not getting the start of the outer table when the
tables were nested, and was over decrementing the nesting level.

The nesting level was previously being decremented within the while loop
condition, then again when ending the row with ME_RTFSpecialCharHook, so
the extra decrement in the while condition was removed. The start of the
table can then be taken before ending the last table row is ended.
 dlls/riched20/editor.c |   17 ++++++++---------
 dlls/riched20/reader.c |    2 --
 2 files changed, 8 insertions(+), 11 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-richedit-Fixed-bugs-in-handling-unterminated-nes.diff.txt

More information about the wine-patches mailing list