1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Merge pull request #1205 from krs0/feature/PCX_file_conversion_in_Resource_Extractor_throws_exception_on_IOS_(boost__locale_stuff)

PCX file conversion in Resource Extractor throws exception on IOS (boost::locale stuff)
This commit is contained in:
Nordsoft91 2022-12-06 04:38:27 +04:00 committed by GitHub
commit 923d4e6e6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ void ResourceConverter::doConvertPcxToPng(bool deleteOriginals)
std::string filePath = dir_itr->path().string();
std::string fileStem = dir_itr->path().stem().string();
filename = dir_itr->path().filename().string();
std::string filenameLowerCase = boost::locale::to_lower(filename);
std::string filenameLowerCase = boost::algorithm::to_lower_copy(filename);
if(bfs::extension(filenameLowerCase) == ".pcx")
{