Skip to content

Commit

Permalink
Make code work also for non-7z multi-volume archives
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Nov 20, 2022
1 parent 86b407d commit f364174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitinputarchive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ BitInputArchive::BitInputArchive( const BitArchiveHandler& handler, const wstrin
mDetectedFormat = &handler.format();
#endif
CMyComPtr< IInStream > file_stream = nullptr;
if (*mDetectedFormat ==BitFormat::SevenZip && ends_with(in_file,L"001")) {
if ( ends_with(in_file,L"001") ) {
auto* file_stream_spec = new CMultiStream;
int nIndex = 1;
wstring current_volume_path = in_file;
Expand Down

0 comments on commit f364174

Please sign in to comment.