summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz-ng/src/hb-buffer.cc
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-03-23 02:21:31 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-03-23 07:12:53 +0000
commitf2ec2fcd553955335b0795d26cb18c9fe2f58008 (patch)
treea1245e5c1a25dbe33fb0b15a90e3fbb51ed4ba96 /src/3rdparty/harfbuzz-ng/src/hb-buffer.cc
parent241ff426eb69cd30fa45cdc91a66b0f5e7688623 (diff)
Update bundled HarfBuzz to 0.9.40
Change-Id: I88c3608c3f15e39e89a00cfc23c184aebe7097e4 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-buffer.cc')
-rw-r--r--src/3rdparty/harfbuzz-ng/src/hb-buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-buffer.cc b/src/3rdparty/harfbuzz-ng/src/hb-buffer.cc
index 942177cbd0..b9fe263ce5 100644
--- a/src/3rdparty/harfbuzz-ng/src/hb-buffer.cc
+++ b/src/3rdparty/harfbuzz-ng/src/hb-buffer.cc
@@ -443,7 +443,7 @@ hb_buffer_t::reverse_range (unsigned int start,
{
unsigned int i, j;
- if (start == end - 1)
+ if (end - start < 2)
return;
for (i = start, j = end - 1; i < j; i++, j--) {