瀏覽代碼

Rename __PHYSFS_Archiver_SZIP to __PHYSFS_Archiver_7Z.

Ryan C. Gordon 8 年之前
父節點
當前提交
6d91dde273
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/physfs.c
  2. 1 1
      src/physfs_archiver_7z.c
  3. 1 1
      src/physfs_internal.h

+ 1 - 1
src/physfs.c

@@ -1131,7 +1131,7 @@ static int initStaticArchivers(void)
         REGISTER_STATIC_ARCHIVER(ZIP);
     #endif
     #if PHYSFS_SUPPORTS_7Z
-        REGISTER_STATIC_ARCHIVER(SZIP);
+        REGISTER_STATIC_ARCHIVER(7Z);
     #endif
     #if PHYSFS_SUPPORTS_GRP
         REGISTER_STATIC_ARCHIVER(GRP);

+ 1 - 1
src/physfs_archiver_7z.c

@@ -387,7 +387,7 @@ static int SZIP_stat(void *opaque, const char *path, PHYSFS_Stat *stat)
 } /* SZIP_stat */
 
 
-const PHYSFS_Archiver __PHYSFS_Archiver_SZIP =
+const PHYSFS_Archiver __PHYSFS_Archiver_7Z =
 {
     CURRENT_PHYSFS_ARCHIVER_API_VERSION,
     {

+ 1 - 1
src/physfs_internal.h

@@ -79,7 +79,7 @@ extern "C" {
    wrapped in PHYSFS_SUPPORTS_* checks before actually referencing them. */
 extern const PHYSFS_Archiver __PHYSFS_Archiver_DIR;
 extern const PHYSFS_Archiver __PHYSFS_Archiver_ZIP;
-extern const PHYSFS_Archiver __PHYSFS_Archiver_SZIP;
+extern const PHYSFS_Archiver __PHYSFS_Archiver_7Z;
 extern const PHYSFS_Archiver __PHYSFS_Archiver_GRP;
 extern const PHYSFS_Archiver __PHYSFS_Archiver_QPAK;
 extern const PHYSFS_Archiver __PHYSFS_Archiver_HOG;