Skip to content

Commit

Permalink
amend to mcmilk#351: fixes register of zip archive (after adding of b…
Browse files Browse the repository at this point in the history
…rotli codec, zip type gets missing because exceeded kNumArcsMax in registering structure g_Arcs)
  • Loading branch information
sebres committed Sep 11, 2023
1 parent 474f368 commit e7c1885
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CPP/7zip/Archive/ArchiveExports.cpp
Expand Up @@ -10,7 +10,7 @@

#include "../Common/RegisterArc.h"

static const unsigned kNumArcsMax = 64;
static const unsigned kNumArcsMax = 72;
static unsigned g_NumArcs = 0;
static unsigned g_DefaultArcIndex = 0;
static const CArcInfo *g_Arcs[kNumArcsMax];
Expand Down
2 changes: 1 addition & 1 deletion CPP/7zip/UI/Common/LoadCodecs.cpp
Expand Up @@ -122,7 +122,7 @@ static bool ReadPathFromRegistry(HKEY baseKey, LPCWSTR value, FString &path)
#endif // EXTERNAL_CODECS


static const unsigned kNumArcsMax = 64;
static const unsigned kNumArcsMax = 72;
static unsigned g_NumArcs = 0;
static const CArcInfo *g_Arcs[kNumArcsMax];

Expand Down

0 comments on commit e7c1885

Please sign in to comment.