diff src/wavpack/libwavpack.cxx @ 130:16e2c64d8b2b trunk

[svn] - provide a complete tuple (fixes albumart and such; path was missing.)
author nenolod
date Fri, 27 Oct 2006 11:58:34 -0700
parents 2e77e3fdd3c1
children 7b7660c9f31c
line wrap: on
line diff
--- a/src/wavpack/libwavpack.cxx	Fri Oct 27 11:55:45 2006 -0700
+++ b/src/wavpack/libwavpack.cxx	Fri Oct 27 11:58:34 2006 -0700
@@ -302,7 +302,8 @@
 
     ti = bmp_title_input_new();
 
-    ti->file_name = g_strdup(g_basename(fn));
+    ti->file_name = g_path_get_basename(fn);
+    ti->file_path = g_path_get_dirname(fn);
     ti->file_ext = "wv";
 
     load_tag(&tag, ctx);