richedit: Properly handle lack of semicolon after font name in rtf.
commit78a7ea5a39ac4a12f106b632dc4cac7c869d21de
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 23 Mar 2009 17:24:27 +0000 (23 13:24 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 24 Mar 2009 09:27:34 +0000 (24 10:27 +0100)
tree44d4c469fdf97d0df70b2a26da644a732c1c0e5d
parent2592fea305c9876686c2e17711abbb8b2d90c2aa
richedit: Properly handle lack of semicolon after font name in rtf.

This was partially handled by ungetting the end group token (i.e. '}')
so that it was read again at the proper place.  Unfortunately there is a
read hook that maintains a stackTop variable, which is decremented when
receiving this end group token.  Therefore stackTop would get
decremented twice, and the rich text file would end prematurely.

This is fixed by incrementing the stackTop variable to compensate for it
being decremented twice.
dlls/riched20/reader.c