From 7dc036df15ddf73e886535946bc92402278a0280 Mon Sep 17 00:00:00 2001 From: Hofmann Jonas Date: Tue, 28 Oct 2025 09:30:39 +0100 Subject: [PATCH] changed two comments --- Start_Windows/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'))