summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/itdb_itunesdb.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c58c3a..9b33dd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,11 @@
private Itdb_Device. Use itdb_set_mountpoint() and
itdb_get_mountpoint() to access the mountpoint.
+ * simplified some code by using itdb_get_path() instead of
+ itdb_resolve_path().
+
+ * itdb_itunesdb.c (itdb_get_path): fixed bug.
+
2005-02-12 Jorg Schuler <jcsjcs at users.sourceforge.net>
* itdb.h, itdb_itunesdb.c: added functions for autodetection of
diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c
index 7577da8..7723f62 100644
--- a/src/itdb_itunesdb.c
+++ b/src/itdb_itunesdb.c
@@ -1,4 +1,4 @@
-/* Time-stamp: <2006-03-17 00:02:22 jcs>
+/* Time-stamp: <2006-03-17 23:09:15 jcs>
|
| Copyright (C) 2002-2005 Jorg Schuler <jcsjcs at users sourceforge net>
| Part of the gtkpod project.
@@ -5045,7 +5045,7 @@ gchar *itdb_get_path (const gchar *dir, const gchar *file)
g_return_val_if_fail (dir, NULL);
- p_file[0] = dir;
+ p_file[0] = file;
return itdb_resolve_path (dir, p_file);
}