[PATCH 4/8] riched20: Implement ITextRange::GetDuplicate. (try 2)
Huw Davies
huw at codeweavers.com
Fri Sep 12 08:09:17 CDT 2014
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.
More information about the wine-devel
mailing list