diff src/audacious/playlist.c @ 2580:48288757d7c7 trunk

[svn] - fix a regression introduced by the DnD fix.
author nenolod
date Mon, 26 Feb 2007 03:36:09 -0800
parents 364714f2d555
children deb09bfd716b
line wrap: on
line diff
--- 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);