From f0baf5e69b7ead7d6dbd9ad44920b0e238311fd7 Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Thu, 16 Apr 2020 08:29:31 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu6/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du6/program.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/du6/program.c b/du6/program.c index 1f5b7fe..b3dc19b 100644 --- a/du6/program.c +++ b/du6/program.c @@ -53,11 +53,14 @@ int main() pole_smernikov[pm] = all; pm++; } + if(antiInfC == 0){ + antiInfC++; + continue; + } if((line[0] == '\n' || isalpha(line[0])!=0 ) && antiInfC == 1 && r == '\n') { break; } r = line[0]; - antiInfC++; } free(line); k = 0;