Fix a comment typo.
Change-Id: Ifacb19b9c31ac81fbf02c8382eb0324ea79075b9
This commit is contained in:
parent
6b940e1349
commit
bfa7c7d9e2
|
@ -3366,7 +3366,7 @@ std::string narrow(const std::wstring& utf16) {
|
|||
// Convert from UTF-16 to UTF-8.
|
||||
std::string narrow(const wchar_t* utf16) {
|
||||
// Note: Do not call SystemErrorCodeToString() from narrow() because
|
||||
// SystemErrorCodeToString() calls narrows() and we don't want potential
|
||||
// SystemErrorCodeToString() calls narrow() and we don't want potential
|
||||
// infinite recursion.
|
||||
const int chars_required = WideCharToMultiByte(CP_UTF8, 0, utf16, -1, NULL,
|
||||
0, NULL, NULL);
|
||||
|
|
Loading…
Reference in New Issue