comparison src/search.c @ 909:6f65d3ecf353

fixed http://sourceforge.net/tracker/index.php?func=detail&aid=2019012&group_id=222125&atid=1054680
author nadvornik
date Mon, 21 Jul 2008 21:38:26 +0000
parents 1698baa37871
children c74c4e87a682
comparison
equal deleted inserted replaced
908:5a737cc935cc 909:6f65d3ecf353
2020 search_stop(sd); 2020 search_stop(sd);
2021 search_result_clear(sd); 2021 search_result_clear(sd);
2022 2022
2023 if (sd->search_dir_fd) 2023 if (sd->search_dir_fd)
2024 { 2024 {
2025 sd->search_folder_list = g_list_prepend(sd->search_folder_list, sd->search_dir_fd); 2025 sd->search_folder_list = g_list_prepend(sd->search_folder_list, file_data_ref(sd->search_dir_fd));
2026 } 2026 }
2027 2027
2028 if (!sd->search_name_match_case) 2028 if (!sd->search_name_match_case)
2029 { 2029 {
2030 /* convert to lowercase here, so that this is only done once per search */ 2030 /* convert to lowercase here, so that this is only done once per search */