We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 194b8e0 commit fdb8401Copy full SHA for fdb8401
libc/src/__support/wchar/string_converter.h
@@ -78,7 +78,8 @@ template <typename T> class StringConverter {
78
}
79
80
ErrorOr<CharType> out = cr.pop<CharType>();
81
- if (out.has_value() && out.value() == 0) // if out isn't null terminator or an error
+ // if out isn't null terminator or an error
82
+ if (out.has_value() && out.value() == 0)
83
src_len = src_idx;
84
85
num_to_write--;
0 commit comments