summaryrefslogtreecommitdiff
path: root/tm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tm.c')
-rw-r--r--tm.c5
1 files 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;