comparison src/view_file_list.c @ 780:44128da39e13

Drop initialization to NULL since filelist_read() will take care of it.
author zas_
date Tue, 03 Jun 2008 11:24:16 +0000
parents 85253619d522
children d6a7fb4b8e7c
comparison
equal deleted inserted replaced
779:8b21337bc47b 780:44128da39e13
1562 1562
1563 DEBUG_1("%s vflist_refresh: read dir", get_exec_time()); 1563 DEBUG_1("%s vflist_refresh: read dir", get_exec_time());
1564 if (vf->path) 1564 if (vf->path)
1565 { 1565 {
1566 ret = filelist_read(vf->path, &vf->list, NULL); 1566 ret = filelist_read(vf->path, &vf->list, NULL);
1567 } 1567
1568 DEBUG_1("%s vflist_refresh: sort", get_exec_time()); 1568 DEBUG_1("%s vflist_refresh: sort", get_exec_time());
1569 1569 vf->list = filelist_sort(vf->list, vf->sort_method, vf->sort_ascend);
1570 vf->list = filelist_sort(vf->list, vf->sort_method, vf->sort_ascend); 1570 }
1571 1571
1572 DEBUG_1("%s vflist_refresh: populate view", get_exec_time()); 1572 DEBUG_1("%s vflist_refresh: populate view", get_exec_time());
1573 1573
1574 vflist_populate_view(vf); 1574 vflist_populate_view(vf);
1575 1575