usp10: Keep the levels array in more cases.
This commit is contained in:
parent
92f706cd74
commit
2c8fb3aba1
|
@ -851,7 +851,7 @@ HRESULT WINAPI ScriptItemizeOpenType(const WCHAR *pwcInChars, int cInChars, int
|
|||
for (i = 0; i < cInChars; i++)
|
||||
if (levels[i]!=levels[0])
|
||||
break;
|
||||
if (i >= cInChars && !odd(baselevel))
|
||||
if (i >= cInChars && !odd(baselevel) && !odd(psState->uBidiLevel))
|
||||
{
|
||||
heap_free(levels);
|
||||
levels = NULL;
|
||||
|
|
Loading…
Reference in New Issue