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