From 69ea23cb5d47dd1cfd3129f68375021ef79bf63b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 13 Apr 2011 15:02:40 -0400 Subject: [PATCH] Minor --- src/hb-buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc index c868091b5..5a44a3fc1 100644 --- a/src/hb-buffer.cc +++ b/src/hb-buffer.cc @@ -592,7 +592,7 @@ hb_utf16_next (const uint16_t *text, if (unlikely (c >= 0xd800 && c < 0xdc00)) { /* high surrogate */ uint16_t l; - if (text < end && ((l = *text), unlikely (l >= 0xdc00 && l < 0xe000))) { + if (text < end && ((l = *text), likely (l >= 0xdc00 && l < 0xe000))) { /* low surrogate */ *unicode = ((hb_codepoint_t) ((c) - 0xd800) * 0x400 + (l) - 0xdc00 + 0x10000); text++;