From 256d21970733483833b9cf31d5e0fa7ae853e944 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sat, 26 Jul 2003 14:35:29 +0000 Subject: [PATCH] Fix additional places where TTO_Err_Not_Covered wasn't considered a Sat Jul 26 10:30:24 2003 Owen Taylor * pango/opentype/ftxgpos.c: Fix additional places where TTO_Err_Not_Covered wasn't considered a successful return from Get_Class. (From Qt, Lars Knoll) --- src/ftxgpos.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ftxgpos.c b/src/ftxgpos.c index c34696cb7..96eb80eff 100644 --- a/src/ftxgpos.c +++ b/src/ftxgpos.c @@ -1665,11 +1665,11 @@ error = Get_Class( &ppf2->ClassDef1, in->string[first_pos], &cl1, NULL ); - if ( error ) + if ( error && error != TTO_Err_Not_Covered ) return error; error = Get_Class( &ppf2->ClassDef2, in->string[in->pos], &cl2, NULL ); - if ( error ) + if ( error && error != TTO_Err_Not_Covered ) return error; c1r = &ppf2->Class1Record[cl1]; @@ -4036,7 +4036,7 @@ error = Get_Class( &cpf2->ClassDef, in->string[in->pos], &classes[0], NULL ); - if ( error ) + if ( error && error != TTO_Err_Not_Covered ) goto End; known_classes = 0; @@ -5416,7 +5416,7 @@ error = Get_Class( &ccpf2->InputClassDef, in->string[in->pos], &input_classes[0], NULL ); - if ( error ) + if ( error && error != TTO_Err_Not_Covered ) goto End1; cpcs = &ccpf2->ChainPosClassSet[input_classes[0]];