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 0a10352 commit 834d65cCopy full SHA for 834d65c
libc/src/__support/wchar/string_converter.h
@@ -63,7 +63,7 @@ template <typename T> class StringConverter {
63
auto src_elements_read = pushFullCharacter();
64
if (!src_elements_read.has_value())
65
return Error(src_elements_read.error());
66
-
+
67
if (cr.sizeAsUTF32() > num_to_write) {
68
cr.clear();
69
return Error(-1);
@@ -84,7 +84,7 @@ template <typename T> class StringConverter {
84
ErrorOr<char8_t> popUTF8() {
85
if (num_to_write == 0)
86
87
88
if (cr.isEmpty() || src_idx == 0) {
89
90
0 commit comments