[34/44] richedit: prevented assertion failures from reading richtext tables
Dylan Smith
dylan.ah.smith at gmail.com
Tue Jun 17 20:20:42 CDT 2008
There were some assertions that were failing as I was trying use tables
that weren't valid rich text, and in some cases were valid rich text.
For instance, a table definition can appear after the cell contents
according to the rich text specifications, but streaming this in caused
assertions errors.
I made other changes that prevented assertion failures that I was
getting, and tried to handle the cases as similarily to the native
richedit controls as possible.
---
dlls/riched20/caret.c | 3 +-
dlls/riched20/editor.c | 138 +++++++++++++++++++++++++++++++++++++----------
dlls/riched20/editstr.h | 1 +
dlls/riched20/list.c | 7 ++-
dlls/riched20/para.c | 19 ++++---
dlls/riched20/reader.c | 20 ++++++-
dlls/riched20/rtf.h | 2 +
dlls/riched20/undo.c | 1 +
8 files changed, 149 insertions(+), 42 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0034-richedit-prevented-assertion-failures-from-reading-r.diff
Type: text/x-diff
Size: 12994 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/ef7a87f3/attachment-0001.diff
More information about the wine-patches
mailing list