Commit 7e94a230 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Removed unused hwndEdit variable for the RTF parser.

There is no reason for the rich text format parser to need a handle to the window, and even if there were it has a handle to the editor which contains a handle to the window. It is better to remove this considering we need to cut down on the use of window handles to implement windowless richedit controls.
parent 8ab0570d
......@@ -1470,7 +1470,6 @@ static LRESULT ME_StreamIn(ME_TextEditor *editor, DWORD format, EDITSTREAM *stre
memset(&parser, 0, sizeof parser);
RTFSetEditStream(&parser, &inStream);
parser.rtfFormat = format&(SF_TEXT|SF_RTF);
parser.hwndEdit = editor->hWnd;
parser.editor = editor;
parser.style = style;
WriterInit(&parser);
......
......@@ -1157,9 +1157,6 @@ struct _RTF_Info {
ME_InStream *stream;
/* edit window to output to */
HWND hwndEdit;
ME_TextEditor *editor;
ME_Style *style;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment