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:
parent
6c49bebc70
commit
13b86ee398
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue