diff options
author | nyamatongwe <unknown> | 2005-04-18 07:11:17 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-04-18 07:11:17 +0000 |
commit | c441bdfefcc4eae12a99f2874d2c5a4d6603e77c (patch) | |
tree | add7648fe52bddb98802875af83ce4abd819aae4 /src/Editor.cxx | |
parent | 49f617fcbd80165321c4ccae9f3b1b95eeec2ab6 (diff) | |
download | scintilla-mirror-c441bdfefcc4eae12a99f2874d2c5a4d6603e77c.tar.gz |
Make code work as documented by treating -1 as special length for encoding
as UTF-8 rather than 0.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index b6c671b57..4e9bcc4cb 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -362,7 +362,7 @@ Editor::Editor() { topLine = 0; posTopLine = 0; - lengthForEncode = 0; + lengthForEncode = -1; needUpdateUI = true; braces[0] = invalidPosition; |