summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-03-17 14:17:49 +0000
committerjcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6>2006-03-17 14:17:49 +0000
commit442357480dd09a7cb8c1ad422ea1f495371f6389 (patch)
tree6e67067e221270b08d2ad1ffb339f812668ed0a1
parente00cb9a946a20386bf6995daccc87311b42f363b (diff)
downloadlibgpod-442357480dd09a7cb8c1ad422ea1f495371f6389.tar.gz
libgpod-442357480dd09a7cb8c1ad422ea1f495371f6389.tar.xz
libgpod-442357480dd09a7cb8c1ad422ea1f495371f6389.zip
* simplified some code by using itdb_get_path() instead of
itdb_resolve_path(). * itdb_itunesdb.c (itdb_get_path): fixed bug. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1221 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-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);
}