diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-08-21 01:38:07 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-08-21 01:38:07 +0000 |
commit | 22b8a1913a9e862e5d20e90c3b9ca50d37a214b1 (patch) | |
tree | c660be54ac7b6deb00f20592852db3bb687aac2c | |
parent | aa30984351e09a2bd1a9bb33d00869d7ab12defd (diff) | |
download | pango-22b8a1913a9e862e5d20e90c3b9ca50d37a214b1.tar.gz |
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.
svn path=/trunk/; revision=2405
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | pango/opentype/harfbuzz-gsub.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +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. + 2007-08-15 Behdad Esfahbod <behdad@gnome.org> Bug 462630 – pango_cairo_context_set_font_options() and some others diff --git a/pango/opentype/harfbuzz-gsub.c b/pango/opentype/harfbuzz-gsub.c index 1d91a117..00db6e86 100644 --- a/pango/opentype/harfbuzz-gsub.c +++ b/pango/opentype/harfbuzz-gsub.c @@ -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; } |