summaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
Diffstat (limited to 'core/math')
-rw-r--r--core/math/expression.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/expression.cpp b/core/math/expression.cpp
index 04fda9d09a..4ae9e09a46 100644
--- a/core/math/expression.cpp
+++ b/core/math/expression.cpp
@@ -2215,6 +2215,8 @@ Expression::Expression() :
root(NULL),
nodes(NULL),
execution_error(false) {
+ str_ofs = 0;
+ expression_dirty = false;
}
Expression::~Expression() {