Commit 2a55f8d6 authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

riched20: Fix a typo in CreateIRichEditOle.

parent cd3b6883
......@@ -1517,7 +1517,7 @@ LRESULT CreateIRichEditOle(ME_TextEditor *editor, LPVOID *ppObj)
return 0;
}
reo->clientSite = CreateOleClientSite(reo);
if (!reo->txtSel)
if (!reo->clientSite)
{
ITextSelection_Release(&reo->txtSel->ITextSelection_iface);
heap_free(reo);
......
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