mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Some reordering to make the code make more sense (no actual effect)
This commit is contained in:
parent
081bdb323a
commit
444897a8b8
1 changed files with 3 additions and 3 deletions
|
@ -148,12 +148,12 @@ std::string AndroidContentURI::GetLastPart() const {
|
|||
|
||||
if (!CanNavigateUp()) {
|
||||
size_t colon = file.rfind(':');
|
||||
if (file.back() == ':') {
|
||||
return file;
|
||||
}
|
||||
if (colon == std::string::npos) {
|
||||
return std::string();
|
||||
}
|
||||
if (file.back() == ':') {
|
||||
return file;
|
||||
}
|
||||
return file.substr(colon + 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue