Re: [31/44] richedit: Set error codes and stop parsing for some rtf syntax errors.

2008-06-18 Thread Dylan Smith
Thanks, I didn't know where that constant was coming from. I am attaching the updated patch. The same description applies to it: Checks were added for hexidecimal values that did not have valid characters, and for EOF received before the final closing brace of the rich text stream. The error va

Re: [31/44] richedit: Set error codes and stop parsing for some rtf syntax errors.

2008-06-18 Thread Rob Shearman
Dylan Smith wrote: > + if (!inStream.editstream->dwError && parser.stackTop > 0) > +inStream.editstream->dwError = -2147024858; This should be HRESULT_FROM_WIN32(ERROR_HANDLE_EOF). -- Rob Shearman