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:
24229eb
)
[hb-view] Accept numbers in feature tag name
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 21 Apr 2011 20:59:10 +0000
(16:59 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 21 Apr 2011 20:59:10 +0000
(16:59 -0400)
Reported by Adam Twardoch.
src/hb-view.c
patch
|
blob
|
history
diff --git
a/src/hb-view.c
b/src/hb-view.c
index
ac55908
..
41adf20
100644
(file)
--- a/
src/hb-view.c
+++ b/
src/hb-view.c
@@
-233,10
+233,10
@@
parse_feature_tag (char **pp, hb_feature_t *feature)
parse_space (pp);
-#define ISAL
PHA(c) (('a' <= (c) && (c) <= 'z') || ('A' <= (c) && (c) <= 'Z
'))
- while (c = **pp, ISAL
PHA
(c))
+#define ISAL
NUM(c) (('a' <= (c) && (c) <= 'z') || ('A' <= (c) && (c) <= 'Z') || ('0' <= (c) && (c) <= '9
'))
+ while (c = **pp, ISAL
NUM
(c))
(*pp)++;
-#undef ISAL
PHA
+#undef ISAL
NUM
if (p == *pp)
return FALSE;