Changeset 5154
- Timestamp:
- 01/05/08 01:30:15 (6 months ago)
- Files:
-
- wire/trunk/wire/files.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wire/trunk/wire/files.c
r5079 r5154 133 133 wi_release(directory_path); 134 134 135 directory_path = wi_retain(wi_string_by_deleting_last_path_component(path)); 136 full_path = wr_files_full_path(directory_path); 137 index = 0; 135 if(wi_string_has_suffix(path, WI_STR("/"))) 136 directory_path = wi_retain(path); 137 else 138 directory_path = wi_retain(wi_string_by_deleting_last_path_component(path)); 139 140 full_path = wr_files_full_path(directory_path); 141 index = 0; 138 142 139 143 wr_files_clear();
