[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();
|
||||
}
|
||||
--it;
|
||||
--end;
|
||||
padding = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue