comparison src/dupe.c @ 783:d6a7fb4b8e7c

replaced directory path with FileData* dir_fd
author nadvornik
date Tue, 03 Jun 2008 19:44:19 +0000
parents 44128da39e13
children 548b193c084c
comparison
equal deleted inserted replaced
782:3f7a0420c293 783:d6a7fb4b8e7c
1731 di = dupe_item_new(fd); 1731 di = dupe_item_new(fd);
1732 } 1732 }
1733 else if (isdir(fd->path) && recurse) 1733 else if (isdir(fd->path) && recurse)
1734 { 1734 {
1735 GList *f, *d; 1735 GList *f, *d;
1736 1736 if (filelist_read(fd, &f, &d))
1737 if (filelist_read(fd->path, &f, &d))
1738 { 1737 {
1739 GList *work; 1738 GList *work;
1740 1739
1741 f = filelist_filter(f, FALSE); 1740 f = filelist_filter(f, FALSE);
1742 d = filelist_filter(d, TRUE); 1741 d = filelist_filter(d, TRUE);
3307 work = work->next; 3306 work = work->next;
3308 if (isdir(fd->path)) 3307 if (isdir(fd->path))
3309 { 3308 {
3310 GList *list; 3309 GList *list;
3311 3310
3312 filelist_read(fd->path, &list, NULL); 3311 filelist_read(fd, &list, NULL);
3313 list = filelist_filter(list, FALSE); 3312 list = filelist_filter(list, FALSE);
3314 if (list) 3313 if (list)
3315 { 3314 {
3316 dupe_window_add_files(d->dw, list, FALSE); 3315 dupe_window_add_files(d->dw, list, FALSE);
3317 filelist_free(list); 3316 filelist_free(list);