Fixed a typo

This commit is contained in:
AnnaSnoeijs 2025-06-06 21:31:59 +02:00
parent a4811efca5
commit 7bb9204d81

View file

@ -26,7 +26,7 @@
#define SCOREBOARD_HEIGHT 9 #define SCOREBOARD_HEIGHT 9
void initBoard( void ){ 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' ); putchar( '\n' );
printf( "\n " ); printf( "\n " );
for( int column = 0; column < BOARD_WIDTH; column++ ) for( int column = 0; column < BOARD_WIDTH; column++ )
@ -70,7 +70,7 @@ void updateBoard(
const board_t board, const board_t board,
const int column const int column
){ ){
int height = board.heigth [ column ]; int height = board.height [ column ];
#ifndef ONLYPUT #ifndef ONLYPUT
switch( move ){ switch( move ){
case PUT: // Only print the put one case PUT: // Only print the put one