summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-14 20:34:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-14 20:59:26 +0300
commitbdec92381ef60cd027292ed63e254e8de70028d9 (patch)
treeebf2722cdc9fe7383a709ba1584432a491cf10ba /src/gui/windows
parent5283a59db971ec2038149bf26ad9b3cbc4924449 (diff)
downloadManaVerse-bdec92381ef60cd027292ed63e254e8de70028d9.tar.gz
ManaVerse-bdec92381ef60cd027292ed63e254e8de70028d9.tar.bz2
ManaVerse-bdec92381ef60cd027292ed63e254e8de70028d9.tar.xz
ManaVerse-bdec92381ef60cd027292ed63e254e8de70028d9.zip
In virtfs replace parameters type from char* to std::string.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index ce316b1eb..f19fb2239 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -180,14 +180,14 @@ void Minimap::setMap(const Map *const map)
std::string minimapName = map->getProperty("minimap");
- if (minimapName.empty() && VirtFs::exists(tempname.c_str()))
+ if (minimapName.empty() && VirtFs::exists(tempname))
minimapName = tempname;
if (minimapName.empty())
{
tempname = std::string("graphics/minimaps/").append(
map->getFilename()).append(".png");
- if (VirtFs::exists(tempname.c_str()))
+ if (VirtFs::exists(tempname))
minimapName = tempname;
}