Correctly print out Unicode strings

This commit is contained in:
Behdad Esfahbod 2012-01-21 18:59:48 -05:00
parent f22089ac24
commit 0f68f4a0b5
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ format_options_t::serialize_line (hb_buffer_t *buffer,
serialize_line_no (line_no, gs);
hb_buffer_reset (scratch);
hb_buffer_add_utf8 (scratch, text, text_len, 0, -1);
serialize_unicode (buffer, gs);
serialize_unicode (scratch, gs);
g_string_append_c (gs, '\n');
}