aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib/LexerBase.cxx')
-rw-r--r--lexlib/LexerBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexerBase.cxx b/lexlib/LexerBase.cxx
index 80558504f..f9e6292a1 100644
--- a/lexlib/LexerBase.cxx
+++ b/lexlib/LexerBase.cxx
@@ -62,7 +62,7 @@ const char * SCI_METHOD LexerBase::DescribeProperty(const char *) {
Sci_Position SCI_METHOD LexerBase::PropertySet(const char *key, const char *val) {
const char *valOld = props.Get(key);
if (strcmp(val, valOld) != 0) {
- props.Set(key, val);
+ props.Set(key, val, strlen(key), strlen(val));
return 0;
} else {
return -1;