Commit ec2c2f9f authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

riched20: Remove redundant comparison.

parent 59df6651
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment