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:
commit
923d4e6e6b
@ -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")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user