diff options
| author | eeight <[email protected]> | 2022-02-10 16:46:18 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:18 +0300 | 
| commit | 475c0a46f28166e83fd263badc7546377cddcabe (patch) | |
| tree | 39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/unicode | |
| parent | a6e0145a095c7bb3770d6e07aee301de5c73f96e (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/unicode')
| -rw-r--r-- | library/cpp/unicode/normalization/custom_encoder.cpp | 2 | ||||
| -rw-r--r-- | library/cpp/unicode/punycode/punycode.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/library/cpp/unicode/normalization/custom_encoder.cpp b/library/cpp/unicode/normalization/custom_encoder.cpp index c6f186405f1..2e8ca0c5756 100644 --- a/library/cpp/unicode/normalization/custom_encoder.cpp +++ b/library/cpp/unicode/normalization/custom_encoder.cpp @@ -64,7 +64,7 @@ void TCustomEncoder::Create(const CodePage* target, bool extended) {                  Y_ASSERT(decomp_p != nullptr);                  dw = decomp_p[0]; -                if (std::char_traits<wchar32>::length(decomp_p) > 1 && (dw == (wchar32)' ' || dw == (wchar32)'(')) +                if (std::char_traits<wchar32>::length(decomp_p) > 1 && (dw == (wchar32)' ' || dw == (wchar32)'('))                       dw = decomp_p[1];              }              if (Code(dw) != 0 && isGoodDecomp(w, dw)) diff --git a/library/cpp/unicode/punycode/punycode.cpp b/library/cpp/unicode/punycode/punycode.cpp index 800d1f19fe4..a16b360d561 100644 --- a/library/cpp/unicode/punycode/punycode.cpp +++ b/library/cpp/unicode/punycode/punycode.cpp @@ -106,7 +106,7 @@ TUtf16String PunycodeToHostName(const TStringBuf& punycodeHost) {      CheckIdnaResult(rc);      TUtf16String decoded; -    AppendUtf32ToWide(out.Data, std::char_traits<ui32>::length(out.Data), decoded); +    AppendUtf32ToWide(out.Data, std::char_traits<ui32>::length(out.Data), decoded);       return decoded;  } | 
