summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/evaluator.cpp2
-rw-r--r--src/mainwindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/evaluator.cpp b/src/evaluator.cpp
index 68a21a6..71998cf 100644
--- a/src/evaluator.cpp
+++ b/src/evaluator.cpp
@@ -234,7 +234,7 @@ TQString Evaluator::autoFix( const TQString& expr )
if( expr[c] >= TQChar(32) )
result.append( expr[c] );
- // automagically close all tqparenthesis
+ // automagically close all parenthesis
Tokens tokens = Evaluator::scan( result );
for( unsigned i=0; i<tokens.count(); i++ )
if( tokens[i].asOperator() == Token::LeftPar ) par++;
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 60e77bd..8ae3fc4 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -241,7 +241,7 @@ void MainWindow::slotReturnPressed()
if(FunctionManager::instance()->isFunction(str))
str += " ans";
- // Add right tqparentheses as needed to balance out the expression.
+ // Add right parentheses as needed to balance out the expression.
int parenLevel = getParenthesesLevel(str);
for(int i = 0; i < parenLevel; ++i)
str += ')';