- Removed filename-lowercasing from zipdir.

SVN r1099 (trunk)
This commit is contained in:
Randy Heit 2008-07-31 22:11:55 +00:00
parent 35b40534fe
commit fb40f5f711
2 changed files with 1 additions and 5 deletions

View file

@ -1,4 +1,5 @@
July 31, 2008 July 31, 2008
- Removed filename-lowercasing from zipdir.
- Fixed: The ouch face fix was lost when SBARINFO mugshot became the only - Fixed: The ouch face fix was lost when SBARINFO mugshot became the only
mugshot present. mugshot present.
- Fixed: Mace SpawnID was assigned to the MacePowered actor instead. - Fixed: Mace SpawnID was assigned to the MacePowered actor instead.

View file

@ -163,17 +163,12 @@ dir_tree_t *alloc_dir_tree(const char *dir)
file_entry_t *alloc_file_entry(const char *prefix, const char *path, time_t last_written) file_entry_t *alloc_file_entry(const char *prefix, const char *path, time_t last_written)
{ {
file_entry_t *entry; file_entry_t *entry;
char *p;
entry = malloc(sizeof(file_entry_t) + strlen(prefix) + strlen(path) + 1); entry = malloc(sizeof(file_entry_t) + strlen(prefix) + strlen(path) + 1);
if (entry != NULL) if (entry != NULL)
{ {
strcpy(entry->path, prefix); strcpy(entry->path, prefix);
strcat(entry->path, path); strcat(entry->path, path);
for (p = entry->path; *p != '\0'; ++p)
{
*p = tolower(*p);
}
entry->next = NULL; entry->next = NULL;
entry->time_write = last_written; entry->time_write = last_written;
} }