diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2004-07-27 10:43:58 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2004-07-27 10:43:58 +0000 |
commit | a4a5b647109820aafe6c6646887c74e33f15a484 (patch) | |
tree | d3cbe411de014f52bb7d22f150fc325c8a587b07 /pango | |
parent | 9fa36eb30c7228306e794b48de0cad0797d17ee8 (diff) | |
download | pango-a4a5b647109820aafe6c6646887c74e33f15a484.tar.gz |
Fix bug to copy glyph from in_string, not out_string.
* pango/opentype/otlbuffer.c (otl_buffer_copy_output_glyph):
Fix bug to copy glyph from in_string, not out_string.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/opentype/otlbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/opentype/otlbuffer.c b/pango/opentype/otlbuffer.c index 9849fd5a..b8595b20 100644 --- a/pango/opentype/otlbuffer.c +++ b/pango/opentype/otlbuffer.c @@ -205,7 +205,7 @@ FT_Error otl_buffer_add_output_glyph( OTL_Buffer buffer, - FT_UInt glyph_index, + FT_UInt glyph_index, FT_UShort component, FT_UShort ligID ) { @@ -224,7 +224,7 @@ if ( error ) return error; - buffer->out_string[buffer->out_pos++] = buffer->out_string[buffer->in_pos++]; + buffer->out_string[buffer->out_pos++] = buffer->in_string[buffer->in_pos++]; buffer->out_length = buffer->out_pos; return FT_Err_Ok; |