mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Explicitly convert path to string for crash file (#1102)
This commit is contained in:
@@ -47,8 +47,8 @@ namespace hex {
|
||||
|
||||
static void saveCrashFile(){
|
||||
nlohmann::json crashData{
|
||||
{"logFile", hex::log::getFile().getPath()},
|
||||
{"project", ProjectFile::getPath()},
|
||||
{"logFile", wolv::util::toUTF8String(hex::log::getFile().getPath())},
|
||||
{"project", wolv::util::toUTF8String(ProjectFile::getPath())},
|
||||
};
|
||||
|
||||
for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Config)) {
|
||||
|
||||
Reference in New Issue
Block a user