Mercurial > audlegacy-plugins
diff src/madplug/input.c @ 799:d200de50a1fc trunk
[svn] - convert filename into utf8 in debug messages.
author | yaz |
---|---|
date | Fri, 09 Mar 2007 22:47:38 -0800 |
parents | 19e08e104ba6 |
children | 8b1685669148 |
line wrap: on
line diff
--- a/src/madplug/input.c Fri Mar 09 12:42:48 2007 -0800 +++ b/src/madplug/input.c Fri Mar 09 22:47:38 2007 -0800 @@ -510,7 +510,9 @@ gboolean input_get_info(struct mad_info_t *info, gboolean fast_scan) { #ifdef DEBUG - g_message("f: input_get_info: %s, fast_scan = %s", info->filename, fast_scan ? "TRUE" : "FALSE"); + gchar *tmp = g_filename_to_utf8(info->filename, -1, NULL, NULL, NULL); + g_message("f: input_get_info: %s, fast_scan = %s", tmp, fast_scan ? "TRUE" : "FALSE"); + g_free(tmp); #endif /* DEBUG */ input_alloc_tag(info);