fix: Error message formatting
This commit is contained in:
parent
77baf6f522
commit
1c28d4f610
@ -754,7 +754,7 @@ namespace hex {
|
|||||||
auto message = std::system_category().message(error);
|
auto message = std::system_category().message(error);
|
||||||
|
|
||||||
#if defined(OS_WINDOWS)
|
#if defined(OS_WINDOWS)
|
||||||
return hex::utf16ToUtf8(hex::utf8ToUtf16(message));
|
return hex::utf16ToUtf8({ message.begin(), message.end() });
|
||||||
#else
|
#else
|
||||||
return message;
|
return message;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user