diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-04 16:06:34 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-04 16:06:34 (GMT) |
commit | c1bbcda2cdd70d2a7a615bf823c55520914b90f5 (patch) | |
tree | 518e4083d98579d29a09a751370eb78cfa02857f /src/3rdparty | |
parent | 0429ed6c8a5f679444ca87bdcbdfb0093d7699a3 (diff) | |
parent | 9fdee69ef3d08f37a2a4f5daceb4606aa5c7ae9b (diff) | |
download | Qt-c1bbcda2cdd70d2a7a615bf823c55520914b90f5.zip Qt-c1bbcda2cdd70d2a7a615bf823c55520914b90f5.tar.gz Qt-c1bbcda2cdd70d2a7a615bf823c55520914b90f5.tar.bz2 |
Merge branch 4.7 into qt-4.8-from-4.7
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp index c202e1f..3410782 100644 --- a/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp +++ b/src/3rdparty/harfbuzz/src/harfbuzz-shaper.cpp @@ -655,6 +655,7 @@ void HB_GetCharAttributes(const HB_UChar16 *string, hb_uint32 stringLength, const HB_ScriptItem *items, hb_uint32 numItems, HB_CharAttributes *attributes) { + memset(attributes, 0, stringLength * sizeof(HB_CharAttributes)); calcLineBreaks(string, stringLength, attributes); for (hb_uint32 i = 0; i < numItems; ++i) { |