diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-03 07:44:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-03 07:44:56 +1000 |
commit | 9aa2dfc9a366df851d1eea05a58d5e171adcb8fd (patch) | |
tree | 790b0c7cdd5666b85454232f7731202102acaf5f /src | |
parent | 9ffdbac7f017c64ddb7133268b45a8a992389591 (diff) | |
download | scintilla-mirror-9aa2dfc9a366df851d1eea05a58d5e171adcb8fd.tar.gz |
Simplify PropSetSimple, avoid casts, use nullptr.
Diffstat (limited to 'src')
-rw-r--r-- | src/ScintillaBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 302c178e2..ad6366097 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) { |