comparison src/audacious/playlist.c @ 2575:9713b5a67cba trunk

[svn] - make directory drag-and-drop work again.
author nenolod
date Sun, 25 Feb 2007 17:55:30 -0800
parents 7b1b52eb663b
children 364714f2d555
comparison
equal deleted inserted replaced
2574:40407b7363f3 2575:9713b5a67cba
937 *tmp = '\0'; 937 *tmp = '\0';
938 } 938 }
939 939
940 decoded = g_strdup(string); 940 decoded = g_strdup(string);
941 941
942 if (g_file_test(decoded, G_FILE_TEST_IS_DIR)) { 942 if (vfs_file_test(decoded, G_FILE_TEST_IS_DIR)) {
943 i = playlist_ins_dir(playlist, decoded, pos, FALSE); 943 i = playlist_ins_dir(playlist, decoded, pos, FALSE);
944 } 944 }
945 else { 945 else {
946 if (is_playlist_name(decoded)) { 946 if (is_playlist_name(decoded)) {
947 i = playlist_load_ins(playlist, decoded, pos); 947 i = playlist_load_ins(playlist, decoded, pos);