diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 | ||||
-rw-r--r-- | src/UniConversion.cxx | 2 | ||||
-rw-r--r-- | src/UniConversion.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 61a349f04..074470f5f 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1850,7 +1850,7 @@ bool BadUTF(const char *s, int len, int &trailBytes) { return true; if (GoodTrailByte(us[1]) && GoodTrailByte(us[2]) && GoodTrailByte(us[3])) { if (*us == 0xf4) { - // Chcek if encoding a value beyond the last Unicode character 10FFFF + // Check if encoding a value beyond the last Unicode character 10FFFF if (us[1] > 0x8f) { return true; } else if (us[1] == 0x8f) { diff --git a/src/UniConversion.cxx b/src/UniConversion.cxx index 0064e3cba..2ef75840e 100644 --- a/src/UniConversion.cxx +++ b/src/UniConversion.cxx @@ -1,6 +1,6 @@ // Scintilla source code edit control /** @file UniConversion.cxx - ** Functions to handle UFT-8 and UCS-2 strings. + ** Functions to handle UTF-8 and UTF-16 strings. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. diff --git a/src/UniConversion.h b/src/UniConversion.h index 8cc3d0a18..2de2ef3fe 100644 --- a/src/UniConversion.h +++ b/src/UniConversion.h @@ -1,6 +1,6 @@ // Scintilla source code edit control /** @file UniConversion.h - ** Functions to handle UFT-8 and UCS-2 strings. + ** Functions to handle UTF-8 and UTF-16 strings. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. |