diff options
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/StringUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index e5a42dc3fb..0233c5e841 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -338,14 +338,14 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _ if (last_slash == std::string::npos) { - return false; + return false; // FIXME return the filename } size_t last_dot = full_path.rfind('.'); if ((last_dot == std::string::npos) || (last_dot < last_slash)) { - return false; + return false; // FIXME why missing . is critical? } if (_pPath) @@ -459,4 +459,4 @@ void NormalizeDirSep(std::string* str) str->replace(i, 1, DIR_SEP); } #endif -}
\ No newline at end of file +} |
