On Fri, Sep 12, 2014 at 08:33:42PM +0800, Jactry Zeng wrote:
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c index a88aff2..b85ffda 100644 --- a/dlls/riched20/richole.c +++ b/dlls/riched20/richole.c
- hres = CreateITextRange(This->reOle, This->start, This->end, ppRange);
- if(hres)
return E_FAIL;
This isn't the way to test for failure. Use the FAILED() macro.
Huw.