src/harfbuzz-thai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3af70a9936269e7af0e7847497292e28065dea28 Author: Ritt Konstantin <[email protected]> Date: Wed Jul 21 15:18:20 2010 +0200 Fix a typo in harfbuzz thai line breaking. Reviewed-by: Lars Knoll diff --git a/src/harfbuzz-thai.c b/src/harfbuzz-thai.c index e153ba9..e80e2c5 100644 --- a/src/harfbuzz-thai.c +++ b/src/harfbuzz-thai.c @@ -91,7 +91,7 @@ static void thaiWordBreaks(const HB_UChar16 *string, hb_uint32 len, HB_CharAttri for (i = 0; i < numbreaks; ++i) { if (break_positions[i] > 0) { attributes[break_positions[i]-1].lineBreakType = HB_Break; - attributes[i].wordBoundary = TRUE; + attributes[break_positions[i]-1].wordBoundary = TRUE; } } _______________________________________________ HarfBuzz mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/harfbuzz
