alpha_beta ui: removed a redundant line
authorMarkus Bröker <mbroeker@largo.dyndns.tv>
Thu, 28 May 2009 17:41:18 +0200
changeset 97 f883331a1bf2
parent 96 810acedf60d8
child 98 0e8eddac99cb
alpha_beta ui: removed a redundant line The original print routine was from an open book by galileo computing and the redundant line was introduced there. committer: Markus Bröker <mbroeker@largo.homelinux.org>
alpha_beta.c
--- a/alpha_beta.c
+++ b/alpha_beta.c
@@ -153,11 +153,7 @@
         printf (" | ");
         printf ("%c", board[3 * i + 2]);
         printf (" | \n");
-        if (i != 2) {
-            printf ("     +---+---+---+\n");
-        } else {
-            printf ("     +---+---+---+\n");
-        }
+        printf ("     +---+---+---+\n");
     }
     if (stack_end->data != NULL)
         printf ("Score: %3d\n", stack_end->data->value);