提交 13b86ee3 编写于 作者: B Behdad Esfahbod 提交者: Behdad Esfahbod

Don't ignore error return value of hb_buffer_copy_output_glyph(). Patch

2007-08-20  Behdad Esfahbod  <behdad@gnome.org>

        * pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Don't
        ignore error return value of hb_buffer_copy_output_glyph().  Patch
        sent to harfbuzz-list.
上级 6c49bebc
...@@ -4396,7 +4396,7 @@ static FT_Error GSUB_Do_String_Lookup( HB_GSUBHeader* gsub, ...@@ -4396,7 +4396,7 @@ static FT_Error GSUB_Do_String_Lookup( HB_GSUBHeader* gsub,
error = HB_Err_Not_Covered; error = HB_Err_Not_Covered;
if ( error == HB_Err_Not_Covered ) if ( error == HB_Err_Not_Covered )
if ( hb_buffer_copy_output_glyph ( buffer ) ) if ( (error = hb_buffer_copy_output_glyph ( buffer ) ) )
return error; return error;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册