diff --git a/Start_Windows/main.c b/Start_Windows/main.c index 82eee79..85d944e 100644 --- a/Start_Windows/main.c +++ b/Start_Windows/main.c @@ -43,7 +43,8 @@ int main(int argc, char *argv[]) // error message if some words couldn't be placed int windowWidth = 720; //Fensterbreite outputfenster if (placedWords == wordCount && placedWords <= MAX_NUMBER_OF_WORDS) { - startGame(wordSalad, MAX_SEARCH_FIELD_LEN, words, wordCount, windowWidth); + showWordSalad(wordSalad, SALAD_SIZE); + startGame(wordSalad, SALAD_SIZE, words, wordCount, windowWidth); exitCode = EXIT_SUCCESS; //Start the game if placed words is equal to words in textfile } else { @@ -61,4 +62,4 @@ int main(int argc, char *argv[]) } return exitCode; -} \ No newline at end of file +}