diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-11-15 16:21:23 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-11-15 16:21:23 +0100 |
| commit | 1c50d6836601b8a6258dd6e299b3f299aa8d4a0f (patch) | |
| tree | 137c71a069d96a5695a2c73f11916b6ef6399fbd /zip/zip.cpp | |
| parent | 4fd3fefa6db8b77915bc67d4623ef3176a431004 (diff) | |
| download | tuxcmd-modules-1c50d6836601b8a6258dd6e299b3f299aa8d4a0f.tar.xz | |
Packed size info supportv0.6.59
Diffstat (limited to 'zip/zip.cpp')
| -rw-r--r-- | zip/zip.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/zip/zip.cpp b/zip/zip.cpp index 75cb37a..14698ea 100644 --- a/zip/zip.cpp +++ b/zip/zip.cpp @@ -1,5 +1,5 @@ /* ZIP plugin for Tux Commander - * version 0.5.2, designed for ZipArchive v3.2.0 + * version 0.5.3, designed for ZipArchive v3.2.0 * Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net> * Check for updates on tuxcmd.sourceforge.net * @@ -47,8 +47,8 @@ -#define VERSION "0.5.2" -#define BUILD_DATE "2008-11-14" +#define VERSION "0.5.3" +#define BUILD_DATE "2008-11-15" #define DEFAULT_BLOCK_SIZE 65536 @@ -205,7 +205,8 @@ void build_global_filelist(struct TVFSGlobs *globs) struct TVFSItem *item = (struct TVFSItem*)malloc(sizeof(struct TVFSItem)); memset(item, 0, sizeof(struct TVFSItem)); - item->iSize = (u_int64_t)fh->m_uUncomprSize; + item->iSize = (int64_t)fh->m_uUncomprSize; + item->iPackedSize = (int64_t)fh->m_uComprSize; if (fh->IsDirectory()) item->ItemType = vDirectory; else item->ItemType = vRegular; |
