From 2d9fc96112034250eef307560e4b538937bcac5e Mon Sep 17 00:00:00 2001 From: Giorgi Kesidis Date: Fri, 24 Oct 2025 14:13:05 +0200 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=202=20vom=2024.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Start_Windows/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Start_Windows/input.c b/Start_Windows/input.c index 7bbe95a..ebf3f79 100644 --- a/Start_Windows/input.c +++ b/Start_Windows/input.c @@ -9,9 +9,9 @@ int readWords(FILE *file, char words[][MAX_WORD_LEN], unsigned int maxWordCount) { //kein fopen und close nötig, weil dies schon in der main passiert und mit *file übergeben wird// - -if (!file) + +if (file == NULL) { perror("Error invalid pointer to file"); return -1;