From 235030fa4a4270722f1c85f6239e406009d7daf5 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 2 Oct 2010 14:27:23 +0000 Subject: kiss --- tm.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tm.c b/tm.c index 00d01de..b45b0ec 100644 --- a/tm.c +++ b/tm.c @@ -204,13 +204,9 @@ findtulpe(Table *tab, Cell *cell) { Tulpe *t; - for (t = tab->tulpe; t; t = t->next) { - if (state != t->curst) - continue; - if (cell->symb != t->ssymb) - continue; - return t; - } + for (t = tab->tulpe; t; t = t->next) + if (state == t->curst && cell->symb == t->ssymb) + return t; return NULL; } -- cgit v1.2.3