From e3dbb3fc1d4da7ddb5bff628d685ba43fceec619 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 21 Aug 2009 03:33:16 +0000 Subject: evaluator bug fixed (thanks to lleo19) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1038 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- evaluator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/evaluator.c b/evaluator.c index 7626d01..d0d4928 100644 --- a/evaluator.c +++ b/evaluator.c @@ -1108,6 +1108,7 @@ static int EvalTree(NODE * Root) for (i = 0; i < Root->Children; i++) { EvalTree(Root->Child[i]); } + i = Root->Children - 1; type = Root->Child[i]->Result->type; number = Root->Child[i]->Result->number; string = Root->Child[i]->Result->string; -- cgit v1.2.3