We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18dcb93 commit 62ed88dCopy full SHA for 62ed88d
1 file changed
deps/first/DynamicOutput/include/DynamicOutput/Macros.hpp
@@ -20,7 +20,7 @@
20
21
#ifdef _WIN32
22
#define RC_DEVICE_PRINT_FUNC(fmt_var, optional_arg, optional_prefix) \
23
-wprintf_s(STR("%s%hs%ls\033[0m"), optional_prefix, log_level_to_color(static_cast<Color::Color>(optional_arg)).c_str(), m_formatter(fmt_var).c_str());
+wprintf_s(STR("%hs%hs%ls\033[0m"), optional_prefix, log_level_to_color(static_cast<Color::Color>(optional_arg)).c_str(), m_formatter(fmt_var).c_str());
24
#elif __linux__
25
26
const auto as_utf8 = to_utf8_string(m_formatter(fmt_var)); \
0 commit comments