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.
This commit is contained in:
Behdad Esfahbod 2007-08-21 01:38:07 +00:00 committed by Behdad Esfahbod
parent 6c49bebc70
commit 13b86ee398

View File

@ -4396,7 +4396,7 @@ static FT_Error GSUB_Do_String_Lookup( HB_GSUBHeader* gsub,
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;
}