From a8135780980f6f2d32de1d2d60af35877304122d Mon Sep 17 00:00:00 2001 From: Pavlo Tverdyi Date: Thu, 2 Apr 2020 16:02:42 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu4/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du4/program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/du4/program.c b/du4/program.c index cb5479c..f5f403d 100644 --- a/du4/program.c +++ b/du4/program.c @@ -51,6 +51,7 @@ for(;eof!=EOF;count++){ ind++; } } + if(eof==EOF) break; sscanf(str,"%lF%c%lF=%lF ",&a,&ac,&b,&c); switch(ac){ case '+':