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.
This commit is contained in:
parent
8ab0570d02
commit
7e94a230e1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue