Fixed a typo
This commit is contained in:
parent
a4811efca5
commit
7bb9204d81
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue