aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-04-18 07:11:17 +0000
committernyamatongwe <unknown>2005-04-18 07:11:17 +0000
commitc441bdfefcc4eae12a99f2874d2c5a4d6603e77c (patch)
treeadd7648fe52bddb98802875af83ce4abd819aae4 /include/Scintilla.iface
parent49f617fcbd80165321c4ccae9f3b1b95eeec2ab6 (diff)
downloadscintilla-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 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 63b626bf5..2dd86eec2 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1606,7 +1606,7 @@ fun void Allocate=2446(int bytes,)
fun int TargetAsUTF8=2447(, stringresult s)
# Set the length of the utf8 argument for calling EncodedFromUTF8.
-# Set to 0 and the string will be measured to the first nul.
+# Set to -1 and the string will be measured to the first nul.
fun void SetLengthForEncode=2448(int bytes,)
# Translates a UTF8 string into the document encoding.