Commit 2c8fb3ab authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10: Keep the levels array in more cases.

parent 92f706cd
...@@ -851,7 +851,7 @@ HRESULT WINAPI ScriptItemizeOpenType(const WCHAR *pwcInChars, int cInChars, int ...@@ -851,7 +851,7 @@ HRESULT WINAPI ScriptItemizeOpenType(const WCHAR *pwcInChars, int cInChars, int
for (i = 0; i < cInChars; i++) for (i = 0; i < cInChars; i++)
if (levels[i]!=levels[0]) if (levels[i]!=levels[0])
break; break;
if (i >= cInChars && !odd(baselevel)) if (i >= cInChars && !odd(baselevel) && !odd(psState->uBidiLevel))
{ {
heap_free(levels); heap_free(levels);
levels = NULL; levels = NULL;
......
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