richedit: Prevent assertion failure when streaming out nested tables.
commitee5342e43295f07cf0a927a6b2b8f256fad0ba29
authorDylan Smith <dylan.ah.smith@gmail.com>
Tue, 30 Sep 2008 21:11:41 +0000 (30 17:11 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 1 Oct 2008 16:40:20 +0000 (1 11:40 -0500)
treedf8620d911cd59c201492150a58a42cdcd77b7c6
parentfac8e957c53b5ffeed690c782cc0bd34e07c8438
richedit: Prevent assertion failure when streaming out nested tables.

The table properties are streamed out at the start of the table for
non-nested tables, and at the end of the table for nested tables.  The
assertion caught the fact that I didn't get the start of the table row
for nested tables before trying to stream out the properties.

The call to ME_GetTableRowStart will handle both of these cases by
getting the table row start paragraph and asserting that it is found.
This call was also the reason for removing the const qualifier on one
of the parameters.
dlls/riched20/writer.c