Nikolay Sivov : riched20: Remove duplicated condition.

Alexandre Julliard julliard at winehq.org
Wed Jun 15 11:39:42 CDT 2016


Module: wine
Branch: master
Commit: 7cb3b72559745d94e7b7e3a0fbb40426f93d775f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7cb3b72559745d94e7b7e3a0fbb40426f93d775f

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Jun 15 10:54:58 2016 +0300

riched20: Remove duplicated condition.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 1013e67..a2f23c9 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;




More information about the wine-cvs mailing list