aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-06-11 11:31:26 +0000
committernyamatongwe <devnull@localhost>2001-06-11 11:31:26 +0000
commite531567c4037953cc7fd4a9f60b0a3cd85de1c70 (patch)
tree919a1244cb09819c9d9145b5d10951a420d07562 /win32/ScintillaWin.cxx
parent91e5161d442421f412315eadc9f3869d104f606f (diff)
downloadscintilla-mirror-e531567c4037953cc7fd4a9f60b0a3cd85de1c70.tar.gz
Patch from Shane Caraveo at ActiveState to notify containers of
Unicode code characters correctly.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index e5c751e93..11612fb1c 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -1304,10 +1304,10 @@ void ScintillaWin::AddCharBytes(char b0, char b1) {
UTF8FromUCS2(wcs, 1, utfval, len);
utfval[len] = '\0';
AddCharUTF(utfval,len);
- } else {
- AddChar(b0);
- AddChar(b1);
- }
+ } else {
+ AddChar(b0);
+ AddChar(b1);
+ }
}
void ScintillaWin::GetIntelliMouseParameters() {