Commit 82d36ba6 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

usp10: Simplify the "pr_2" assignment in GPOS_apply_ContextPos().

parent 1b02c1ac
......@@ -2191,8 +2191,7 @@ static unsigned int GPOS_apply_ContextPos(const ScriptCache *script_cache, const
}
TRACE("Rule matches\n");
pr_2 = (const GPOS_PosClassRule_2*)((const BYTE*)pr+
FIELD_OFFSET(GPOS_PosClassRule_1, Class[g_count-1]));
pr_2 = (const GPOS_PosClassRule_2 *)&pr->Class[g_count - 1];
for (l = 0; l < GET_BE_WORD(pr->PosCount); l++)
{
......
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