Mercurial > geeqie.yaz
diff 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 |
line wrap: on
line diff
--- a/src/view_file_list.c Tue Jun 03 09:41:00 2008 +0000 +++ b/src/view_file_list.c Tue Jun 03 11:24:16 2008 +0000 @@ -1564,10 +1564,10 @@ if (vf->path) { ret = filelist_read(vf->path, &vf->list, NULL); + + DEBUG_1("%s vflist_refresh: sort", get_exec_time()); + vf->list = filelist_sort(vf->list, vf->sort_method, vf->sort_ascend); } - DEBUG_1("%s vflist_refresh: sort", get_exec_time()); - - vf->list = filelist_sort(vf->list, vf->sort_method, vf->sort_ascend); DEBUG_1("%s vflist_refresh: populate view", get_exec_time());