projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4445e5e
)
Slightly optimize UTF-8 parsing
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 25 Sep 2012 16:30:16 +0000
(12:30 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 25 Sep 2012 16:30:16 +0000
(12:30 -0400)
src/hb-utf-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-utf-private.hh
b/src/hb-utf-private.hh
index
f89aa23
..
a77139f
100644
(file)
--- a/
src/hb-utf-private.hh
+++ b/
src/hb-utf-private.hh
@@
-44,8
+44,8
@@
hb_utf_next (const uint8_t *text,
const uint8_t *end,
hb_codepoint_t *unicode)
{
-
uint8_t c = *text
;
- unsigned int
mask,
len;
+
hb_codepoint_t c = *text, mask
;
+ unsigned int len;
/* TODO check for overlong sequences? */