提交 256d2197 编写于 作者: O Owen Taylor 提交者: Owen Taylor

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)
上级 37496068
......@@ -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]];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册