Fix mixed line breaks in webview sources

This commit is contained in:
Tobias Taschner
2021-02-08 11:27:49 +01:00
parent e0c705648f
commit 1cd0904260
3 changed files with 21 additions and 21 deletions

View File

@@ -56,8 +56,8 @@ bool DecodeString(const wxString& in, wxString* out)
out->append('\\');
break;
case 'u':
#if SIZEOF_WCHAR_T == 2
// In this case, we handle surrogates without doing anything special was wchar_t strings use UTF-17 encoding.
#if SIZEOF_WCHAR_T == 2
// In this case, we handle surrogates without doing anything special was wchar_t strings use UTF-17 encoding.
if (wxIsxdigit(ch[1]) && wxIsxdigit(ch[2]) &&
wxIsxdigit(ch[3]) && wxIsxdigit(ch[4]))
{