Commit 9c238307 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Get rid of assignment to self.

parent 960cef83
......@@ -2002,12 +2002,10 @@ static HRESULT layout_compute_effective_runs(struct dwrite_textlayout *layout)
}
i = min(i, layout->cluster_count - 1);
if (overflow) {
/* Overflown on whitespace, ignore it */
if (layout->clustermetrics[i].isWhitespace && layout_can_wrap_after(layout, i))
i = i;
/* Ignore if overflown on whitespace */
if (overflow && !(layout->clustermetrics[i].isWhitespace && layout_can_wrap_after(layout, i))) {
/* Use most recently found breaking point */
else if (last_breaking_point != ~0u) {
if (last_breaking_point != ~0u) {
i = last_breaking_point;
last_breaking_point = ~0u;
}
......
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