Fix zip info

This commit is contained in:
TheFloW 2016-10-30 14:09:56 +01:00
parent 5207df01cc
commit 899b4a57d8
2 changed files with 4 additions and 5 deletions

View File

@ -141,7 +141,9 @@ int fileListGetArchiveEntries(FileList *list, char *path) {
entry->name_length = strlen(entry->name);
entry->size = archive_entry->size;
entry->size2 = archive_entry->size2;
memcpy(&entry->ctime, &archive_entry->ctime, sizeof(SceDateTime));
memcpy(&entry->mtime, &archive_entry->mtime, sizeof(SceDateTime));
fileListAddEntry(list, entry, SORT_BY_NAME_AND_FOLDER);

View File

@ -310,11 +310,8 @@ int initPropertyDialog(char *path, FileListEntry *entry) {
max_width = width;
// Creation date
if (!isInArchive()) {
getDateString(date_string, date_format, &entry->ctime);
getTimeString(time_string, time_format, &entry->ctime);
}
getDateString(date_string, date_format, &entry->ctime);
getTimeString(time_string, time_format, &entry->ctime);
sprintf(string, "%s %s", date_string, time_string);
width = copyStringLimited(property_creation_date, string, PROPERTY_DIALOG_ENTRY_MAX_WIDTH);
if (width > max_width)