diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-29 22:47:50 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-09-29 22:47:50 +0200 |
commit | fc2689bbd0af9323a366d6fe6b37f613e28fc53f (patch) | |
tree | 32cef377a22338d1bde1e26d32e0313318651550 /gtkplaylist.c | |
parent | 7ad596b7eb25cc2ab18b439d6159b0e12205c2f5 (diff) |
vfs_curl WIP
Diffstat (limited to 'gtkplaylist.c')
-rw-r--r-- | gtkplaylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtkplaylist.c b/gtkplaylist.c index 7307462a..2c97a3f5 100644 --- a/gtkplaylist.c +++ b/gtkplaylist.c @@ -1088,9 +1088,9 @@ gtkpl_add_fm_dropped_files (gtkplaylist_t *ps, char *ptr, int length, int drop_y //strncpy (fname, p, pe - p); //fname[pe - p] = 0; int abort = 0; - playItem_t *inserted = pl_insert_dir (after, fname + 7, &abort, gtkpl_add_file_info_cb, NULL); + playItem_t *inserted = pl_insert_dir (after, fname, &abort, gtkpl_add_file_info_cb, NULL); if (!inserted && !abort) { - inserted = pl_insert_file (after, fname + 7, &abort, gtkpl_add_file_info_cb, NULL); + inserted = pl_insert_file (after, fname, &abort, gtkpl_add_file_info_cb, NULL); } if (inserted) { after = inserted; |