mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Update to Boost.Filesystem version 3, since Boost 1.50 drops support for version 2.
Check http://forum.vcmi.eu/viewtopic.php?t=518
This commit is contained in:
@@ -1553,7 +1553,7 @@ int CPlayerInterface::getLastIndex( std::string namePrefix)
|
||||
{
|
||||
if(is_regular(dir->status()))
|
||||
{
|
||||
std::string name = dir->path().leaf();
|
||||
std::string name = dir->path().leaf().string();
|
||||
if(starts_with(name, namePrefix) && ends_with(name, ".vlgm1"))
|
||||
{
|
||||
char nr = name[namePrefix.size()];
|
||||
|
Reference in New Issue
Block a user