mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-19 15:31:53 +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
2 changed files with 10 additions and 0 deletions
|
@ -495,3 +495,10 @@ std::string TabsToSpaces(int tab_size, const std::string &in)
|
||||||
}
|
}
|
||||||
return out;
|
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"
|
// "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);
|
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 BuildCompleteFilename(std::string& _CompleteFilename, const std::string& _Path, const std::string& _Filename);
|
||||||
void NormalizeDirSep(std::string* str);
|
void NormalizeDirSep(std::string* str);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue