aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-05-02 00:06:01 +0000
committernyamatongwe <unknown>2010-05-02 00:06:01 +0000
commitf73b5ae0e7a2b461bdb59f72f2803645b48b0d7e (patch)
tree2f6dee1cbfd0205f0cae6784609eb094f3299ba8 /src/Editor.cxx
parent9527e6f388b10afcde7088df567c3a907df77f8d (diff)
downloadscintilla-mirror-f73b5ae0e7a2b461bdb59f72f2803645b48b0d7e.tar.gz
Bug #2995278 minor fixes to typos and types.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 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) {