diff options
Diffstat (limited to 'src/editor.cpp')
-rw-r--r-- | src/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.cpp b/src/editor.cpp index ec83878..caadb5e 100644 --- a/src/editor.cpp +++ b/src/editor.cpp @@ -596,7 +596,7 @@ void Editor::autoCalc() // If we're using set for a function don't try. TQRegExp setFn("\\s*set.*\\(.*="); - if( str.tqfind(setFn) != -1 ) + if( str.find(setFn) != -1 ) return; // strip off assignment operator, e.g. "x=1+2" becomes "1+2" only |