Added PCC as PCX variation

PCC is old PCX-compatible format, which is still occurs.
This commit is contained in:
Azamat H. Hackimov 2016-11-30 15:06:10 +05:00
parent 88b0b2161c
commit 6fb9691d2e

View File

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