diff options
author | mongo <andmarti@gmail.com> | 2017-03-18 07:29:25 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2017-03-18 07:29:25 -0300 |
commit | 84a47ce0b78e0ab48426bca0e9c31587dfffb189 (patch) | |
tree | 07039a8a50d5d1f2f026f8da20cfbf950c90fc46 /src | |
parent | cefe73bab1dc159ec96205862a107cf40508b816 (diff) |
fix issue #156
Diffstat (limited to 'src')
-rw-r--r-- | src/interp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interp.c b/src/interp.c index cc5b8a8..1c2b0fc 100644 --- a/src/interp.c +++ b/src/interp.c @@ -1914,7 +1914,6 @@ void let(struct ent * v, struct enode * e) { double val; - short already_eval = FALSE; unsigned isconstant = constant(e); if (v->row == currow && v->col == curcol) cellassign = 1; @@ -1930,7 +1929,6 @@ void let(struct ent * v, struct enode * e) { } else { cellerror = CELLOK; val = eval(v, e); // JUST NUMERIC VALUE - already_eval = TRUE; } if (v->cellerror != cellerror) { v->flags |= is_changed; @@ -1960,7 +1958,7 @@ void let(struct ent * v, struct enode * e) { v->expr = (struct enode *) 0; } efree(e); - } else if (! exprerr && ! already_eval) { + } else if (! exprerr) { efree(v->expr); v->expr = e; |