riched20: Fix a typo in CreateIRichEditOle.

This commit is contained in:
Jactry Zeng 2014-03-27 22:59:50 +08:00 committed by Alexandre Julliard
parent cd3b688331
commit 2a55f8d663
1 changed files with 1 additions and 1 deletions

View File

@ -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);