From: Behdad Esfahbod Date: Tue, 27 Jul 2004 10:43:58 +0000 (+0000) Subject: Fix bug to copy glyph from in_string, not out_string. X-Git-Tag: submit/2.0alpha-wayland/20121130.004132~9^2~1375 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d5435ea8cb345c79029b8a12d1bddbed28b1997;p=profile%2Fivi%2Forg.tizen.video-player.git 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. --- diff --git a/src/otlbuffer.c b/src/otlbuffer.c index 9849fd5..b8595b2 100644 --- a/src/otlbuffer.c +++ b/src/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;