aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-07-19 10:42:50 +1000
committerNeil <nyamatongwe@gmail.com>2014-07-19 10:42:50 +1000
commitc995ec683d9fd296097740d3c60e833621f24f5b (patch)
treef30a62970c933a738fb398c08b44ab70ade3fce2 /src/ScintillaBase.cxx
parentca7b9e66fc519cae98fd0e8eac04f5e81ef6584c (diff)
downloadscintilla-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.cxx2
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);