From 2d2721ee7a4e893a9e858be21dd29f388cf92e4a Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 2 May 2021 09:31:26 -0500 Subject: [PATCH] [Base] Fix UTF-8 fnfp with trailing separator. [Base] Fix off-by-one in UTF-8 find_name_from_path with trailing separator. --- src/xenia/base/utf8.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xenia/base/utf8.cc b/src/xenia/base/utf8.cc index ae357c2b9..308117477 100644 --- a/src/xenia/base/utf8.cc +++ b/src/xenia/base/utf8.cc @@ -589,7 +589,6 @@ std::string find_name_from_path(const std::string_view path, return std::string(); } --it; - --end; padding = 1; }