summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-01-21 18:59:48 -0500
committerBehdad Esfahbod <behdad@behdad.org>2012-01-21 18:59:48 -0500
commit0f68f4a0b5ee78cbdb2a89a9a1a9125afe72ed2f (patch)
treebe0186bb1dc7b08c4e89a089b06344a804a98773 /util
parentf22089ac24f43ff048c2a0f1c1f604ae3a96be8b (diff)
Correctly print out Unicode strings
Diffstat (limited to 'util')
-rw-r--r--util/options.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/options.cc b/util/options.cc
index 4914cb61..c2d4ec90 100644
--- a/util/options.cc
+++ b/util/options.cc
@@ -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');
}