diff --git a/ui_vt100.c b/ui_vt100.c index 58338c3..fed7055 100644 --- a/ui_vt100.c +++ b/ui_vt100.c @@ -26,7 +26,7 @@ #define SCOREBOARD_HEIGHT 9 void initBoard( void ){ - for( int i = SCOREBOARD_HEIGHT - ( BOARD_HEIGTH + 2 ); i > 0; i-- ) + for( int i = SCOREBOARD_HEIGHT - ( BOARD_HEIGHT + 2 ); i > 0; i-- ) putchar( '\n' ); printf( "\n " ); for( int column = 0; column < BOARD_WIDTH; column++ ) @@ -70,7 +70,7 @@ void updateBoard( const board_t board, const int column ){ - int height = board.heigth [ column ]; + int height = board.height [ column ]; #ifndef ONLYPUT switch( move ){ case PUT: // Only print the put one