# HG changeset patch # User nenolod # Date 1172489769 28800 # Node ID 48288757d7c7a7133759eb85304daa1d9a569dd0 # Parent 364714f2d5557cdac0307e52fd9a3c18d3aeda03 [svn] - fix a regression introduced by the DnD fix. diff -r 364714f2d555 -r 48288757d7c7 ChangeLog --- a/ChangeLog Mon Feb 26 01:14:48 2007 -0800 +++ b/ChangeLog Mon Feb 26 03:36:09 2007 -0800 @@ -1,3 +1,12 @@ +2007-02-26 09:14:48 +0000 William Pitcock + revision [4168] + - urldecode playlist paths + + trunk/src/audacious/playlist.c | 47 ++++++++++++++++++++++++++++++++++++++- + trunk/src/audacious/vfs.c | 49 +++++++++++++++++++++++++++++++++++++---- + 2 files changed, 91 insertions(+), 5 deletions(-) + + 2007-02-26 06:41:59 +0000 William Pitcock revision [4166] - change the order that hints are processed in. diff -r 364714f2d555 -r 48288757d7c7 src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Mon Feb 26 01:14:48 2007 -0800 +++ b/src/audacious/build_stamp.c Mon Feb 26 03:36:09 2007 -0800 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070226-4166"; +const gchar *svn_stamp = "20070226-4168"; diff -r 364714f2d555 -r 48288757d7c7 src/audacious/playlist.c --- a/src/audacious/playlist.c Mon Feb 26 01:14:48 2007 -0800 +++ b/src/audacious/playlist.c Mon Feb 26 03:36:09 2007 -0800 @@ -932,6 +932,9 @@ GHashTable *htab; gchar *path2 = _playlist_urldecode_basic_path(path); + if (path2 == NULL) + path2 = g_strdup(path); + htab = g_hash_table_new(devino_hash, devino_compare); list = playlist_dir_find_files(path2, background, htab); diff -r 364714f2d555 -r 48288757d7c7 src/audacious/vfs.c --- a/src/audacious/vfs.c Mon Feb 26 01:14:48 2007 -0800 +++ b/src/audacious/vfs.c Mon Feb 26 03:36:09 2007 -0800 @@ -383,6 +383,9 @@ path2 = _vfs_urldecode_basic_path(path); + if (path2 == NULL) + path2 = g_strdup(path); + ret = g_file_test(path2, test); g_free(path2);