summaryrefslogtreecommitdiffstats
path: root/src/modules/editor/scripteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/editor/scripteditor.cpp')
-rw-r--r--src/modules/editor/scripteditor.cpp4
1 files changed, 2 insertions, 2 deletions
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)