summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-07-26 02:44:19 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-07-26 02:44:19 +0000
commit1e854af93284afbec2131e3f3c470dd17b0a4b18 (patch)
tree6c7883a8bf61e884174e29c60df57e38e2fc0cab /pango
parent8ede5baf93c428781bdd0874a68b26a407a14b0a (diff)
downloadpango-1e854af93284afbec2131e3f3c470dd17b0a4b18.tar.gz
Fix a couple of places where TTO_Err_Not_Covered wasn't considered a
Fri Jul 25 22:25:48 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgsub.c (Lookup_ContextSubst2, Lookup_ChainContextSubst2): Fix a couple of places where TTO_Err_Not_Covered wasn't considered a successful return from Get_Class -- it means use class index 0. (From FreeType, Werner Lemberg, 2001-08-06)
Diffstat (limited to 'pango')
-rw-r--r--pango/opentype/ftxgsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/opentype/ftxgsub.c b/pango/opentype/ftxgsub.c
index 837bfe10..148b3a6c 100644
--- a/pango/opentype/ftxgsub.c
+++ b/pango/opentype/ftxgsub.c
@@ -2197,7 +2197,7 @@
error = Get_Class( &csf2->ClassDef, in->string[in->pos],
&classes[0], NULL );
- if ( error )
+ if ( error && error != TTO_Err_Not_Covered )
goto End;
known_classes = 0;
@@ -3571,7 +3571,7 @@
error = Get_Class( &ccsf2->InputClassDef, in->string[in->pos],
&input_classes[0], NULL );
- if ( error )
+ if ( error && error != TTO_Err_Not_Covered )
goto End1;
cscs = &ccsf2->ChainSubClassSet[input_classes[0]];