mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Opening recent files with unicode characters in their path
This commit is contained in:
@@ -458,7 +458,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
for (const auto &path : ContentRegistry::Settings::read("hex.builtin.setting.imhex", "hex.builtin.setting.imhex.recent_files"))
|
||||
s_recentFilePaths.emplace_back(path);
|
||||
s_recentFilePaths.emplace_back(std::u8string(path.begin(), path.end()));
|
||||
|
||||
if (ImHexApi::System::getInitArguments().contains("tip-of-the-day")) {
|
||||
s_tipOfTheDay = ImHexApi::System::getInitArguments()["tip-of-the-day"];
|
||||
|
||||
Reference in New Issue
Block a user