diff options
Diffstat (limited to 'backends/cloud/storagefile.cpp')
-rw-r--r-- | backends/cloud/storagefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/storagefile.cpp b/backends/cloud/storagefile.cpp index 0d40698823..02c9cae3cf 100644 --- a/backends/cloud/storagefile.cpp +++ b/backends/cloud/storagefile.cpp @@ -32,7 +32,7 @@ StorageFile::StorageFile(Common::String pth, uint32 sz, uint32 ts, bool dir) { uint32 i = _name.size() - 1; while (true) { if (_name[i] == '/' || _name[i] == '\\') { - _name.erase(0, i); + _name.erase(0, i+1); break; } if (i == 0) break; |