Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfa7c7d9 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix a comment typo.

Change-Id: Ifacb19b9c31ac81fbf02c8382eb0324ea79075b9
parent 6b940e13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);