mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Base] Fix UTF-8 fnfp with trailing separator.
[Base] Fix off-by-one in UTF-8 find_name_from_path with trailing separator.
This commit is contained in:
parent
fcd46d56a0
commit
2d2721ee7a
|
|
@ -589,7 +589,6 @@ std::string find_name_from_path(const std::string_view path,
|
||||||
return std::string();
|
return std::string();
|
||||||
}
|
}
|
||||||
--it;
|
--it;
|
||||||
--end;
|
|
||||||
padding = 1;
|
padding = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue