Cleaned up CommonPaths some more and removed BuildCompleteFilename()

This commit is contained in:
adrian17
2013-09-28 00:21:44 +02:00
parent 5f86bc44d4
commit 6fc2ad56a4
4 changed files with 3 additions and 48 deletions
+1 -13
View File
@@ -15,7 +15,7 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "CommonPaths.h"
#include "Common.h"
#include "StringUtils.h"
long parseHexLong(std::string s) {
@@ -84,16 +84,4 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _
*_pExtension = full_path.substr(fname_end);
return true;
}
void BuildCompleteFilename(std::string& _CompleteFilename, const std::string& _Path, const std::string& _Filename)
{
_CompleteFilename = _Path;
// check for seperator
if (!strchr(DIR_SEP_CHRS, *_CompleteFilename.rbegin()))
_CompleteFilename += DIR_SEP;
// add the filename
_CompleteFilename += _Filename;
}