Skip to content

Commit

Permalink
Fix zip info
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOfficialFloW committed Oct 30, 2016
1 parent 5207df0 commit 899b4a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
7 changes: 2 additions & 5 deletions property_dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 899b4a5

Please sign in to comment.