提交 e10ea2af 编写于 作者: O Owen Taylor 提交者: Owen Taylor

Fix confusion between boolean and FT_Error return. (GSUB equivalent of fix

Sat Jul 26 21:06:26 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Load_EmptyOrClassDefinition):
        Fix confusion between boolean and FT_Error return.
        (GSUB equivalent of fix for #108358)
上级 a7305ab2
......@@ -2969,12 +2969,13 @@
if ( class_offset )
{
if ( !FILE_Seek( class_offset + base_offset ) )
error = Load_ClassDefinition( cd, limit, stream ) == TT_Err_Ok;
error = Load_ClassDefinition( cd, limit, stream );
}
else
error = Load_EmptyClassDefinition ( cd, stream );
(void)FILE_Seek( cur_offset );
if (error == TT_Err_Ok)
(void)FILE_Seek( cur_offset ); /* Changes error as a side-effect */
return error;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册