Commit a2c57a2a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Set the base embedding level for RTL paragraphs.

parent ac5edd1b
......@@ -746,6 +746,11 @@ static HRESULT itemize_para( ME_Context *c, ME_DisplayItem *p )
assert( p->type == diParagraph );
if (para->pFmt->dwMask & PFM_RTLPARA && para->pFmt->wEffects & PFE_RTLPARA)
state.uBidiLevel = 1;
TRACE( "Base embedding level %d\n", state.uBidiLevel );
while (1)
{
hr = ScriptItemize( para->text->szData, para->text->nLen, items_passed, &control,
......
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