dwrite: Remove a couple of useless checks.

oldstable
Nikolay Sivov 2015-07-06 23:07:39 +03:00 committed by Alexandre Julliard
parent 28caa68d41
commit f039e15182
1 changed files with 0 additions and 4 deletions

View File

@ -1389,16 +1389,12 @@ static HRESULT layout_compute_effective_runs(struct dwrite_textlayout *layout)
while (erun && erun->line == line) {
erun->origin_y = origin_y;
erun = layout_get_next_erun(layout, erun);
if (!erun)
break;
}
/* Same for inline runs */
while (inrun && inrun->line == line) {
inrun->origin_y = origin_y;
inrun = layout_get_next_inline_run(layout, inrun);
if (!inrun)
break;
}
layout->metrics.height += layout->lines[line].height;