diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-07-21 15:18:20 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-01-14 20:29:46 +0100 |
commit | 3af70a9936269e7af0e7847497292e28065dea28 (patch) | |
tree | ecaa4602c32893b985637391274cd92a1d929bc7 | |
parent | 5a381d21b924da0c0843940d223cd6fff767efdc (diff) |
Fix a typo in harfbuzz thai line breaking.
Reviewed-by: Lars Knoll
-rw-r--r-- | src/harfbuzz-thai.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |