Commit f8da57ca authored by Amine Khaldi's avatar Amine Khaldi Committed by Alexandre Julliard

riched20: Fix a c89 conformance issue in ITextImpl->editor->rcFormat initialization.

parent de8dc80c
......@@ -88,7 +88,11 @@ HRESULT WINAPI CreateTextServices(IUnknown * pUnkOuter,
ITextImpl->lpVtbl = &textservices_Vtbl;
ITextImpl->editor = ME_MakeEditor(pITextHost, FALSE);
ITextImpl->editor->exStyleFlags = 0;
ITextImpl->editor->rcFormat = (RECT){0,0,0,0};
ITextImpl->editor->rcFormat.left = 0;
ITextImpl->editor->rcFormat.top = 0;
ITextImpl->editor->rcFormat.right = 0;
ITextImpl->editor->rcFormat.bottom = 0;
ME_HandleMessage(ITextImpl->editor, WM_CREATE, 0, 0, TRUE, &hres);
if (pUnkOuter)
......
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