mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 03:35:26 +00:00
Revert accidental change to stringutil
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4198 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
e147b9eb91
commit
81c4982a0a
@ -495,3 +495,10 @@ std::string TabsToSpaces(int tab_size, const std::string &in)
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
std::string PathToFilename(std::string Path)
|
||||
{
|
||||
std::string Name, Ending;
|
||||
SplitPath(Path, 0, &Name, &Ending);
|
||||
return Name + Ending;
|
||||
}
|
||||
|
@ -74,6 +74,9 @@ int ChooseStringFrom(const char* str, const char* * items);
|
||||
|
||||
// "C:\Windows\winhelp.exe" to "C:\Windows\", "winhelp", "exe"
|
||||
bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _pFilename, std::string* _pExtension);
|
||||
// "C:\Windows\winhelp.exe" to "winhelp.exe"
|
||||
std::string PathToFilename(std::string Path);
|
||||
|
||||
void BuildCompleteFilename(std::string& _CompleteFilename, const std::string& _Path, const std::string& _Filename);
|
||||
void NormalizeDirSep(std::string* str);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user