Mercurial > pidgin
changeset 5738:ec032cb2f9ec
[gaim-migrate @ 6162]
This probably doesn't fix problems when we display high ascii and stuff in
the debug window, but it at least displays them now, I think.. just now it
says it's not valid UTF-8.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 04 Jun 2003 07:15:17 +0000 |
parents | 72ced7411599 |
children | edf4d443e671 |
files | src/gtkdebug.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkdebug.c Wed Jun 04 07:08:13 2003 +0000 +++ b/src/gtkdebug.c Wed Jun 04 07:15:17 2003 +0000 @@ -282,7 +282,7 @@ if (gaim_prefs_get_bool("/gaim/gtk/debug/enabled") && debug_win != NULL && !debug_win->paused) { - gchar *esc_s, *cat_s, *s; + gchar *esc_s, *cat_s, *utf8_s, *s; if (category == NULL) cat_s = g_strdup(""); @@ -296,9 +296,14 @@ g_free(esc_s); + utf8_s = gaim_try_conv_to_utf8(s); + g_free(s); + s = utf8_s; + if (level == GAIM_DEBUG_FATAL) { gchar *temp = s; + g_free(s); s = g_strdup_printf("<b>%s</b>", temp); g_free(temp); }