riched20: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2018-12-12 16:04:12 +02:00 committed by Alexandre Julliard
parent 59df6651b8
commit ec2c2f9fa0
1 changed files with 1 additions and 3 deletions

View File

@ -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)
{