1
0
forked from 0ad/0ad

Fix zip file detection.

This was SVN commit r8095.
This commit is contained in:
Ykkrosh 2010-09-10 20:28:48 +00:00
parent dee3cb84b5
commit 5b7afe3606

View File

@ -95,7 +95,7 @@ private:
{
const fs::wpath pathname = path/files[i].Name();
const std::wstring extension = fs::extension(pathname);
if(wcscasecmp(extension.c_str(), L"zip") == 0)
if(wcscasecmp(extension.c_str(), L".zip") == 0)
{
PIArchiveReader archiveReader = CreateArchiveReader_Zip(pathname);
RETURN_ERR(archiveReader->ReadEntries(AddArchiveFile, (uintptr_t)this));