summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/StringUtil.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-06-17 23:36:04 +0000
committernakeee <nakeee@gmail.com>2009-06-17 23:36:04 +0000
commit37ceb042e1793710332c4233f230baa477924c2d (patch)
treedf5bb5af6ebefa55666f7cef6529be240c953138 /Source/Core/Common/Src/StringUtil.cpp
parenta5364600673c7a5aa5f398d8938ea76d398ec990 (diff)
DSPCodeUtil some code fixing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
-rw-r--r--Source/Core/Common/Src/StringUtil.cpp6
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
+}