diff --git a/src/picture.c b/src/picture.c index 5422ebd..7e97404 100644 --- a/src/picture.c +++ b/src/picture.c @@ -207,8 +207,8 @@ Picture_Load_Filename (gchar *filename, gpointer user_data) // Other tag types default: { - // By default, set the filename in the description - pic->description = g_path_get_basename(filename_utf8); + /* By default, set the filename to the empty string. */ + pic->description = g_strdup (""); // Try to identify the type of the picture from the file name filename_utf8_folded = g_utf8_casefold(pic->description, -1);