diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2010-07-21 13:18:20 (GMT) |
---|---|---|
committer | Pierre Rossi <pierre.rossi@nokia.com> | 2010-07-21 13:34:57 (GMT) |
commit | 55c818b8f3fdb50087d1f5553662cd4db302f495 (patch) | |
tree | 9d5feff16e15732371492f4255f2d39ecbf51afc /src/3rdparty/harfbuzz | |
parent | 2422e009fd63fe0ba2af4a1ab831096a7f111e9d (diff) | |
download | Qt-55c818b8f3fdb50087d1f5553662cd4db302f495.zip Qt-55c818b8f3fdb50087d1f5553662cd4db302f495.tar.gz Qt-55c818b8f3fdb50087d1f5553662cd4db302f495.tar.bz2 |
Fix a typo in harfbuzz thai line breaking.
Reviewed-by: Lars Knoll
Diffstat (limited to 'src/3rdparty/harfbuzz')
-rw-r--r-- | src/3rdparty/harfbuzz/src/harfbuzz-thai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c b/src/3rdparty/harfbuzz/src/harfbuzz-thai.c index e153ba9..e80e2c5 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-thai.c +++ b/src/3rdparty/harfbuzz/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; } } |