# HG changeset patch # User Yoshiki Yazawa # Date 1213364175 -32400 # Node ID aeb435ee43f8253f0c80d3acd21ed4da2dc4a807 # Parent cbc9965e155283df4e56c90825c32d04148aea43 fixed the bug that initiating playback of a file without metadata always resulted in title instead of its filename. diff -r cbc9965e1552 -r aeb435ee43f8 src/audacious/tuple.c --- a/src/audacious/tuple.c Fri Jun 13 22:32:27 2008 +0900 +++ b/src/audacious/tuple.c Fri Jun 13 22:36:15 2008 +0900 @@ -159,7 +159,10 @@ if ((value = tuple_associate_data(tuple, nfield, field, TUPLE_STRING)) == NULL) return FALSE; - value->value.string = NULL; + if (string) + value->value.string = str_to_utf8(string); + else + value->value.string = NULL; TUPLE_UNLOCK_WRITE(); return TRUE;