From 02161437a9abe6a66b37979247bcb8f44b66f6d8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 2 Jan 2007 05:28:45 +0000 Subject: Separated the cell buffer into substance and style buffers. --- src/ScintillaBase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ScintillaBase.cxx') 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(piece.length())); } pdoc->EndUndoAction(); -- cgit v1.2.3