diff options
Diffstat (limited to 'src/fileutils.cpp')
-rw-r--r-- | src/fileutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileutils.cpp b/src/fileutils.cpp index 8a726ba69..731e4ea01 100644 --- a/src/fileutils.cpp +++ b/src/fileutils.cpp @@ -91,7 +91,7 @@ std::string FileSystem::GetFileName(const std::string& name) #ifdef _WIN32 size_t pos = name.find_last_of("\\/"); #else - size_t pos = name.rfind('/'); + size_t pos = name.rfind('/'); #endif return pos == std::string::npos ? name : name.substr(++pos); } |