From 7cb3b72559745d94e7b7e3a0fbb40426f93d775f Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 15 Jun 2016 10:54:58 +0300 Subject: [PATCH] riched20: Remove duplicated condition. Signed-off-by: Nikolay Sivov Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- 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 1013e6792c6..a2f23c91af9 100644 --- a/dlls/riched20/richole.c +++ b/dlls/riched20/richole.c @@ -1976,7 +1976,7 @@ static HRESULT range_Collapse(LONG bStart, LONG *start, LONG *end) if (*end == *start) return S_FALSE; - if (bStart == tomEnd || bStart == tomFalse) + if (bStart == tomEnd) *start = *end; else *end = *start;