[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:
gibbed 2021-05-02 09:31:26 -05:00 committed by Rick Gibbed
parent fcd46d56a0
commit 2d2721ee7a
1 changed files with 0 additions and 1 deletions

View File

@ -589,7 +589,6 @@ std::string find_name_from_path(const std::string_view path,
return std::string();
}
--it;
--end;
padding = 1;
}