diff options
author | Neil <nyamatongwe@gmail.com> | 2014-07-19 10:42:50 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-07-19 10:42:50 +1000 |
commit | c995ec683d9fd296097740d3c60e833621f24f5b (patch) | |
tree | f30a62970c933a738fb398c08b44ab70ade3fce2 /src/ScintillaBase.cxx | |
parent | ca7b9e66fc519cae98fd0e8eac04f5e81ef6584c (diff) | |
download | scintilla-mirror-c995ec683d9fd296097740d3c60e833621f24f5b.tar.gz |
Using const for string argument to allow use with literals.
Diffstat (limited to 'src/ScintillaBase.cxx')
-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 48ec46808..ee7818ef2 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -76,7 +76,7 @@ void ScintillaBase::Finalise() { popup.Destroy(); } -void ScintillaBase::AddCharUTF(char *s, unsigned int len, bool treatAsDBCS) { +void ScintillaBase::AddCharUTF(const char *s, unsigned int len, bool treatAsDBCS) { bool isFillUp = ac.Active() && ac.IsFillUpChar(*s); if (!isFillUp) { Editor::AddCharUTF(s, len, treatAsDBCS); |