aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2007-01-02 05:28:45 +0000
committernyamatongwe <unknown>2007-01-02 05:28:45 +0000
commit02161437a9abe6a66b37979247bcb8f44b66f6d8 (patch)
tree3ff5f363106d8488bc48c5e555b20688ff6b5879 /src/ScintillaBase.cxx
parent9f6740c61ca15c172be2d5c04b672cd0eba7d0e4 (diff)
downloadscintilla-mirror-02161437a9abe6a66b37979247bcb8f44b66f6d8.tar.gz
Separated the cell buffer into substance and style buffers.
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 e43411261..0f3b3c093 100644
--- a/src/ScintillaBase.cxx
+++ b/src/ScintillaBase.cxx
@@ -358,7 +358,7 @@ void ScintillaBase::AutoCompleteCompleted() {
SetEmptySelection(ac.posStart);
if (item != -1) {
SString piece = selected;
- pdoc->InsertString(firstPos, piece.c_str());
+ pdoc->InsertCString(firstPos, piece.c_str());
SetEmptySelection(firstPos + static_cast<int>(piece.length()));
}
pdoc->EndUndoAction();