From f73b5ae0e7a2b461bdb59f72f2803645b48b0d7e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 2 May 2010 00:06:01 +0000 Subject: Bug #2995278 minor fixes to typos and types. --- src/Editor.cxx | 2 +- src/UniConversion.cxx | 2 +- src/UniConversion.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 // 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 // The License.txt file describes the conditions under which this software may be distributed. -- cgit v1.2.3