diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-03-22 07:37:01 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-03-22 07:37:01 +0000 |
commit | f0314c16b1392a2021874136f80fd9350f16fe84 (patch) | |
tree | 2f46062c8e00fc907b835417724a6739bb96aba2 /src/sourcewindow.c | |
parent | 951ba1bd0fd5582c507a807b5fe0dd8454b5271c (diff) |
made error check strict on Japanese code conversion.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@185 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/sourcewindow.c')
-rw-r--r-- | src/sourcewindow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sourcewindow.c b/src/sourcewindow.c index 1b80687e..b55554e0 100644 --- a/src/sourcewindow.c +++ b/src/sourcewindow.c @@ -149,11 +149,10 @@ void source_window_append(SourceWindow *sourcewin, const gchar *str) GtkTextBuffer *buffer; GtkTextIter iter; gchar *out; - gint len; buffer = gtk_text_view_get_buffer(text); - out = conv_utf8todisp(str); + out = conv_utf8todisp(str, NULL); gtk_text_buffer_get_iter_at_offset(buffer, &iter, -1); gtk_text_buffer_insert(buffer, &iter, out, -1); g_free(out); |