Skip to content

Commit a497be8

Browse files
committed
formatting
1 parent 7c76363 commit a497be8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

libmamba/src/util/os_win.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,14 @@ namespace mamba::util
8989
}
9090

9191
assert(utf8_text.size() <= std::numeric_limits<int>::max());
92-
const int size = ::MultiByteToWideChar(CP_UTF8, 0, utf8_text.data(), static_cast<int>(utf8_text.size()), nullptr, 0);
92+
const int size = ::MultiByteToWideChar(
93+
CP_UTF8,
94+
0,
95+
utf8_text.data(),
96+
static_cast<int>(utf8_text.size()),
97+
nullptr,
98+
0
99+
);
93100
if (size <= 0)
94101
{
95102
throw std::runtime_error(fmt::format(

0 commit comments

Comments
 (0)