From 5e57df2146614bf2c344fcb4a5c54f08ec5f1add Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 3 May 2018 07:44:56 +1000 Subject: Backport: Simplify PropSetSimple, avoid casts, use nullptr. Backport of changeset 6788:e9f6386c89d4. --- src/ScintillaBase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index cf1b0d588..10a70bd72 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -703,7 +703,7 @@ const char *LexState::DescribeProperty(const char *name) { } void LexState::PropSet(const char *key, const char *val) { - props.Set(key, val); + props.Set(key, val, strlen(key), strlen(val)); if (instance) { const Sci_Position firstModification = instance->PropertySet(key, val); if (firstModification >= 0) { -- cgit v1.2.3