projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8fb6c
)
[GSUB] Oops, fix Extension check
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 18 May 2009 09:22:32 +0000
(
05:22
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:12 +0000
(14:40 -0500)
src/hb-ot-layout-gsub-private.h
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-gsub-private.h
b/src/hb-ot-layout-gsub-private.h
index
1db04a9
..
75ff827
100644
(file)
--- a/
src/hb-ot-layout-gsub-private.h
+++ b/
src/hb-ot-layout-gsub-private.h
@@
-773,8
+773,7
@@
ASSERT_SIZE (GSUB, 10);
inline bool ExtensionSubstFormat1::substitute (LOOKUP_ARGS_DEF) const {
unsigned int lookup_type = get_type ();
- /* TODO belongs to sanitize() */
- if (HB_UNLIKELY (lookup_type == GSUB_ReverseChainSingle))
+ if (HB_UNLIKELY (lookup_type == GSUB_Extension))
return false;
return (*(SubstLookupSubTable *)(((char *) this) + get_offset ())).substitute (LOOKUP_ARGS,