Commit 0a4f8319 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

usp10: Cache ScriptString_pSize value, again.

Fixes a harmless regression caused by c5b41a45. Signed-off-by: 's avatarAkihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: 's avatarAric Stewart <aric@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent fb568344
......@@ -3875,6 +3875,7 @@ const SIZE * WINAPI ScriptString_pSize(SCRIPT_STRING_ANALYSIS ssa)
for (j = 0; j < analysis->glyphs[i].numGlyphs; j++)
analysis->sz.cx += analysis->glyphs[i].piAdvance[j];
}
analysis->flags |= SCRIPT_STRING_ANALYSIS_FLAGS_SIZE;
}
return &analysis->sz;
}
......
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