diff --git a/Start_Windows/game.c b/Start_Windows/game.c index 23b8216..847ff47 100644 --- a/Start_Windows/game.c +++ b/Start_Windows/game.c @@ -57,7 +57,7 @@ int checkIfPositionIsFree(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN] if (position.alignment == HORIZONTAL) { // checking to see if position is free - // by scanning each row in the given Column + // by scanning each column in the given row for (i = position.startingCell; (i < serchFieldLen) && !(letterFound); i++) { if ((salad[position.rowOrColumn][i] >= 'A') && (salad[position.rowOrColumn][i] <= 'z')) @@ -69,7 +69,7 @@ int checkIfPositionIsFree(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN] else if (position.alignment == VERTIKAL) { // checking to see if position is free - // by scanning each row in the given Column + // by scanning each row in the given column for (i = position.startingCell; (i < serchFieldLen) && !(letterFound); i++) { if ((salad[i][position.rowOrColumn] >= 'A') && (salad[i][position.rowOrColumn] <= 'z'))