riched20: Fix a typo in CreateIRichEditOle.

Jactry Zeng jactry92 at gmail.com
Thu Mar 27 10:22:23 CDT 2014


-------------- next part --------------
From 5d7a7fcb5d67b85133d457b4b872b65b7a25a809 Mon Sep 17 00:00:00 2001
From: Jactry Zeng <jactry92 at gmail.com>
Date: Thu, 27 Mar 2014 22:59:50 +0800
Subject: riched20: Fix a typo in CreateIRichEditOle.

---
 dlls/riched20/richole.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
index bec228e..6f2d579 100644
--- a/dlls/riched20/richole.c
+++ b/dlls/riched20/richole.c
@@ -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);
-- 
1.8.3.2



More information about the wine-patches mailing list