Merge pull request #1336 from winterheart/master

Added PCC as PCX variation
This commit is contained in:
David Capello 2016-11-30 14:54:47 -03:00 committed by GitHub
commit 108b754592

View File

@ -119,7 +119,8 @@ FileFormat detect_format_by_file_extension(const std::string& filename)
if (ext == "pal") if (ext == "pal")
return FileFormat::PAL_PALETTE; return FileFormat::PAL_PALETTE;
if (ext == "pcx") if (ext == "pcx" ||
ext == "pcc")
return FileFormat::PCX_IMAGE; return FileFormat::PCX_IMAGE;
if (ext == "anim") if (ext == "anim")