diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-14 20:34:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-14 20:59:26 +0300 |
commit | bdec92381ef60cd027292ed63e254e8de70028d9 (patch) | |
tree | ebf2722cdc9fe7383a709ba1584432a491cf10ba /src/resources/atlas | |
parent | 5283a59db971ec2038149bf26ad9b3cbc4924449 (diff) | |
download | plus-bdec92381ef60cd027292ed63e254e8de70028d9.tar.gz plus-bdec92381ef60cd027292ed63e254e8de70028d9.tar.bz2 plus-bdec92381ef60cd027292ed63e254e8de70028d9.tar.xz plus-bdec92381ef60cd027292ed63e254e8de70028d9.zip |
In virtfs replace parameters type from char* to std::string.
Diffstat (limited to 'src/resources/atlas')
-rw-r--r-- | src/resources/atlas/atlasmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/atlas/atlasmanager.cpp b/src/resources/atlas/atlasmanager.cpp index 6a141df27..ef06c9527 100644 --- a/src/resources/atlas/atlasmanager.cpp +++ b/src/resources/atlas/atlasmanager.cpp @@ -149,7 +149,7 @@ void AtlasManager::loadImages(const StringVect &files, path = path.substr(0, p); } - SDL_RWops *const rw = VirtFs::RWopsOpenRead(path.c_str()); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(path); if (rw) { Image *const image = d ? surfaceImageHelper->load(rw, *d) |