--- xosd-2.2.14/src/bmp_plugin/bmp_osd.c.orig 2006-01-24 00:19:55.000000000 +0300 +++ xosd-2.2.14/src/bmp_plugin/bmp_osd.c 2006-01-24 00:21:06.000000000 +0300 @@ -382,6 +382,7 @@ timeout_func(gpointer data) if (show.trackname && (current.title != NULL)) { int len; char *title; + char *title_locale = g_locale_from_utf8(current.title, -1, NULL, NULL, NULL); gint playlist_time; len = 13 + strlen(current.title) + (withtime ? 11 : 0); @@ -390,10 +391,11 @@ timeout_func(gpointer data) withtime ? xmms_remote_get_output_time(gp.xmms_session) : 0; snprintf(title, len, withtime ? "%i/%i: %s (%i:%02i)" : "%i/%i: %s", - current.pos + 1, playlist_length, current.title, + current.pos + 1, playlist_length, title_locale, playlist_time / 1000 / 60, playlist_time / 1000 % 60); replace_hexcodes(title); xosd_display(osd, 1, XOSD_string, title); + g_free(title_locale); free(title); } else xosd_display(osd, 1, XOSD_string, "");