From 37ceb042e1793710332c4233f230baa477924c2d Mon Sep 17 00:00:00 2001 From: nakeee Date: Wed, 17 Jun 2009 23:36:04 +0000 Subject: DSPCodeUtil some code fixing git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/StringUtil.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/Src/StringUtil.cpp') 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 +} -- cgit v1.2.3