From dc5e5344c5afb387eb2bbc2dca3d72cdaa6d091b Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 3 Sep 2023 14:07:47 +0200 Subject: [PATCH] fix: ImHex not starting at all anymore when launched through the explorer --- lib/libimhex/include/hex/helpers/logger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/include/hex/helpers/logger.hpp b/lib/libimhex/include/hex/helpers/logger.hpp index b02bd20a3..b6dcf33d7 100644 --- a/lib/libimhex/include/hex/helpers/logger.hpp +++ b/lib/libimhex/include/hex/helpers/logger.hpp @@ -47,7 +47,7 @@ namespace hex::log { fmt::print(dest, "[{0}] ", IMHEX_PROJECT_NAME); constexpr static auto ProjectNameLength = std::char_traits::length(IMHEX_PROJECT_NAME); - fmt::print("{}", std::string(ProjectNameLength > 10 ? 0 : 10 - ProjectNameLength, ' ')); + fmt::print(dest, "{}", std::string(ProjectNameLength > 10 ? 0 : 10 - ProjectNameLength, ' ')); } template