comparison src/view_dir_tree.c @ 332:3c4bad726e98

Rename file filtering options.
author zas_
date Sat, 12 Apr 2008 09:12:37 +0000
parents c74af1cbd61a
children 0b82646e977f
comparison
equal deleted inserted replaced
331:d8e285551598 332:3c4bad726e98
1060 filelist_read(nd->fd->path, NULL, &list); 1060 filelist_read(nd->fd->path, NULL, &list);
1061 1061
1062 /* when hidden files are not enabled, and the user enters a hidden path, 1062 /* when hidden files are not enabled, and the user enters a hidden path,
1063 * allow the tree to display that path by specifically inserting the hidden entries 1063 * allow the tree to display that path by specifically inserting the hidden entries
1064 */ 1064 */
1065 if (!options->show_dot_files && 1065 if (!options->file_filter.show_dot_files &&
1066 target_path && 1066 target_path &&
1067 strncmp(nd->fd->path, target_path, strlen(nd->fd->path)) == 0) 1067 strncmp(nd->fd->path, target_path, strlen(nd->fd->path)) == 0)
1068 { 1068 {
1069 gint n; 1069 gint n;
1070 1070