diff options
Diffstat (limited to 'src/resources/loaders/imageloader.cpp')
-rw-r--r-- | src/resources/loaders/imageloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp index 16a5022c3..b4826238a 100644 --- a/src/resources/loaders/imageloader.cpp +++ b/src/resources/loaders/imageloader.cpp @@ -63,7 +63,7 @@ namespace d = new Dye(path1.substr(p + 1)); path1 = path1.substr(0, p); } - SDL_RWops *const rw = VirtFs::RWopsOpenRead(path1.c_str()); + SDL_RWops *const rw = VirtFs::RWopsOpenRead(path1); if (!rw) { delete d; |