From ed184e8a40a61c38536ba6b2ab3453dffe7937e5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 27 Jan 2026 12:24:23 +0900 Subject: Fix conversion of TQString to const char* Signed-off-by: Michele Calgaro --- src/modules/editor/scripteditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/editor') diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index 68a70d3f..62a49307 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -458,7 +458,7 @@ bool KviScriptEditorWidget::contextSensitiveHelp() const void KviScriptEditorWidget::getWordOnCursor(TQString &buffer,int index) const { TQRegExp re("[ \t=,\\(\\)\"}{\\[\\]\r\n+-*><;@!]"); - //tqDebug("BUFFER IS %s",buffer.utf8().data()); + //tqDebug("BUFFER IS %s",buffer.local8Bit().data()); int start = buffer.findRev(re,index); int end = buffer.find(re,index); @@ -471,7 +471,7 @@ void KviScriptEditorWidget::getWordOnCursor(TQString &buffer,int index) const tmp = buffer.mid(start,end-start); } buffer = tmp; - //tqDebug("BUFFER NOW IS %s",buffer.utf8().data()); + //tqDebug("BUFFER NOW IS %s",buffer.local8Bit().data()); } void KviScriptEditorWidget::completition(bool bCanComplete) -- cgit v1.2.3