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 | 1f9c249665ccbd458237d439f11a7f14a85b34b2 (patch) | |
tree | f4a7fa2258bc8bade9fcaf10eee803eabe18058d /src/ScintillaBase.cxx | |
parent | 6e260ca3e80f495693592c746be53a2488f78919 (diff) | |
download | scintilla-mirror-1f9c249665ccbd458237d439f11a7f14a85b34b2.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); |