1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

boost 1.46 compile fixes.

This commit is contained in:
mateuszb
2011-02-24 12:21:48 +00:00
parent 5e0b0e49b2
commit 4647d4af2c
4 changed files with 4 additions and 4 deletions

View File

@@ -1371,7 +1371,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()];