riched20: Set the base embedding level for RTL paragraphs.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ac5edd1b6b
commit
a2c57a2a8a
|
@ -746,6 +746,11 @@ static HRESULT itemize_para( ME_Context *c, ME_DisplayItem *p )
|
||||||
|
|
||||||
assert( p->type == diParagraph );
|
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)
|
while (1)
|
||||||
{
|
{
|
||||||
hr = ScriptItemize( para->text->szData, para->text->nLen, items_passed, &control,
|
hr = ScriptItemize( para->text->szData, para->text->nLen, items_passed, &control,
|
||||||
|
|
Loading…
Reference in New Issue