diff actions.c @ 10:0e15841ae111

s/list/stack/g because thats what it is
author meillo@marmaro.de
date Sat, 09 Feb 2008 16:49:29 +0100
parents c202ccccedb5
children 8a8da74530dd
line wrap: on
line diff
--- a/actions.c	Sat Feb 09 16:41:41 2008 +0100
+++ b/actions.c	Sat Feb 09 16:49:29 2008 +0100
@@ -74,7 +74,8 @@
 unsigned char action_input(struct Node* node) {
 	/*
 	unsigned char input = (unsigned char) getchar();
-	getchar();  /* catches the newline */
+	getchar();
+	*/
 
 	/* reads a number which is treated as ASCII value */
 	int input;
@@ -90,7 +91,7 @@
 	struct Node* tp;
 	unsigned char i;
 	tp = node->down;
-	for (i; i < node->value; i++) {
+	for (i = 0; i < node->value; i++) {
 		/* deep copy */
 	}
 	return 0;