Commit 68c45de6 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix off by one issue in line breaking rule LB21a.

parent 91df67df
...@@ -524,7 +524,7 @@ static HRESULT analyze_linebreaks(const WCHAR *text, UINT32 count, DWRITE_LINE_B ...@@ -524,7 +524,7 @@ static HRESULT analyze_linebreaks(const WCHAR *text, UINT32 count, DWRITE_LINE_B
break; break;
/* LB21a */ /* LB21a */
case b_HL: case b_HL:
if (i < count-2) if (i < count-1)
switch (break_class[i+1]) switch (break_class[i+1])
{ {
case b_HY: case b_HY:
......
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