diff --git a/cv1/program.c b/cv1/program.c index eeadb7e..4839991 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -18,7 +18,7 @@ int main() { int input = getchar(); if (input == EOF) { - break; // Koniec súboru (EOF) + return -1; } c = (char)input;