Changeset 5197
- Timestamp:
- 01/22/08 03:59:20 (7 months ago)
- Files:
-
- wired/trunk/wired/files.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wired/trunk/wired/files.c
r5196 r5197 725 725 break; 726 726 727 if(length < wi_file_offset(file) && wd_files_name_matches_query(string, query, true)) { 727 if(length == wi_file_offset(file)) 728 continue; 729 730 if(wd_files_name_matches_query(string, query, true)) { 728 731 index = wi_string_index_of_char(string, WD_FIELD_SEPARATOR, 0); 729 732 … … 732 735 pathrange.length = wi_string_length(string) - pathrange.location; 733 736 734 if(wi_string_index_of_string_in_range(string, account->files, WI_STRING_CASE_INSENSITIVE, pathrange) == pathrange.location) {737 if(wi_string_index_of_string_in_range(string, account->files, WI_STRING_CASE_INSENSITIVE, pathrange) == pathrange.location) 735 738 wi_string_delete_characters_to_index(string, index + pathlength + 1); 736 737 wd_reply(420, WI_STR("%@"), string);738 }739 739 } else { 740 740 wi_string_delete_characters_to_index(string, index + 1); 741 742 wd_reply(420, WI_STR("%@"), string);743 741 } 742 743 wd_reply(420, WI_STR("%@"), string); 744 744 } 745 745
