Fix additional places where TTO_Err_Not_Covered wasn't considered a

Sat Jul 26 10:30:24 2003  Owen Taylor  <otaylor@redhat.com>

        * 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)
This commit is contained in:
Owen Taylor 2003-07-26 14:35:29 +00:00 committed by Owen Taylor
parent 374960681e
commit 256d219707
1 changed files with 4 additions and 4 deletions

View File

@ -1665,11 +1665,11 @@
error = Get_Class( &ppf2->ClassDef1, in->string[first_pos], error = Get_Class( &ppf2->ClassDef1, in->string[first_pos],
&cl1, NULL ); &cl1, NULL );
if ( error ) if ( error && error != TTO_Err_Not_Covered )
return error; return error;
error = Get_Class( &ppf2->ClassDef2, in->string[in->pos], error = Get_Class( &ppf2->ClassDef2, in->string[in->pos],
&cl2, NULL ); &cl2, NULL );
if ( error ) if ( error && error != TTO_Err_Not_Covered )
return error; return error;
c1r = &ppf2->Class1Record[cl1]; c1r = &ppf2->Class1Record[cl1];
@ -4036,7 +4036,7 @@
error = Get_Class( &cpf2->ClassDef, in->string[in->pos], error = Get_Class( &cpf2->ClassDef, in->string[in->pos],
&classes[0], NULL ); &classes[0], NULL );
if ( error ) if ( error && error != TTO_Err_Not_Covered )
goto End; goto End;
known_classes = 0; known_classes = 0;
@ -5416,7 +5416,7 @@
error = Get_Class( &ccpf2->InputClassDef, in->string[in->pos], error = Get_Class( &ccpf2->InputClassDef, in->string[in->pos],
&input_classes[0], NULL ); &input_classes[0], NULL );
if ( error ) if ( error && error != TTO_Err_Not_Covered )
goto End1; goto End1;
cpcs = &ccpf2->ChainPosClassSet[input_classes[0]]; cpcs = &ccpf2->ChainPosClassSet[input_classes[0]];