[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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user