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:
parent
59df6651b8
commit
ec2c2f9fa0
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue