dwrite: Fix off by one issue in line breaking rule LB21a.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
91df67df0c
commit
68c45de6ae
|
@ -524,7 +524,7 @@ static HRESULT analyze_linebreaks(const WCHAR *text, UINT32 count, DWRITE_LINE_B
|
|||
break;
|
||||
/* LB21a */
|
||||
case b_HL:
|
||||
if (i < count-2)
|
||||
if (i < count-1)
|
||||
switch (break_class[i+1])
|
||||
{
|
||||
case b_HY:
|
||||
|
|
Loading…
Reference in New Issue