From eec064b72b1c1d9f6f997041a47d3664599bf43a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 5 Feb 2010 05:58:35 +0000 Subject: minor fix --- tm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tm.c b/tm.c index c3cfc6a..569ffde 100644 --- a/tm.c +++ b/tm.c @@ -254,10 +254,9 @@ movehead(Tape *tape, char move) tape->rvis = tape->rvis->right; if (tape->width < width) ++tape->width; - else { + else tape->lvis = tape->lvis->right; - movetape = TOLEFT; - } + movetape = TOLEFT; } /* move the head */ tape->head = tape->head->right; -- cgit v1.2.3