diff options
author | nyamatongwe <devnull@localhost> | 2007-01-02 05:28:45 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-01-02 05:28:45 +0000 |
commit | 2e90199b5ace192bca8ce39a7319dcb1823827b3 (patch) | |
tree | 3ff5f363106d8488bc48c5e555b20688ff6b5879 /src/ScintillaBase.cxx | |
parent | 30a42acd9f04fea654c99f6c18ddbb26e5deb4b2 (diff) | |
download | scintilla-mirror-2e90199b5ace192bca8ce39a7319dcb1823827b3.tar.gz |
Separated the cell buffer into substance and style buffers.
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 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(); |