summaryrefslogtreecommitdiff
path: root/src/fileutils.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-23 14:37:09 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-23 14:37:09 +0100
commitd02011d69fe1e52ec0bc38051eff9ea93a1cc88c (patch)
treee754312d779e090111000d1c27d666fd318ae144 /src/fileutils.cpp
parent2f3c378a3974cc206cf4e184dec9b303ce2ee43a (diff)
Remove whitespace and minor style changes
Diffstat (limited to 'src/fileutils.cpp')
-rw-r--r--src/fileutils.cpp2
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);
}