[PATCH] riched20: Remove redundant comparison.
Andrey Gusev
andrey.goosev at gmail.com
Wed Dec 12 08:04:12 CST 2018
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/riched20/para.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/riched20/para.c b/dlls/riched20/para.c
index 7781ff2dce..6eec6b5906 100644
--- a/dlls/riched20/para.c
+++ b/dlls/riched20/para.c
@@ -132,9 +132,7 @@ void add_marked_para(ME_TextEditor *editor, ME_DisplayItem *di)
}
else if (di->member.para.nCharOfs >= iter->member.para.nCharOfs)
{
- if (!iter->member.para.next_marked ||
- (iter->member.para.next_marked &&
- di->member.para.nCharOfs < iter->member.para.next_marked->member.para.nCharOfs))
+ if (!iter->member.para.next_marked || di->member.para.nCharOfs < iter->member.para.next_marked->member.para.nCharOfs)
{
if (iter->member.para.next_marked)
{
--
2.17.2
More information about the wine-devel
mailing list