From 2ddf7f57c92c76997c24ecaac934f7d228c095d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Wed, 18 Mar 2026 23:27:56 +0000 Subject: [PATCH] Aktualizovat du3/program.c --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index d43389e..b2454dc 100644 --- a/du3/program.c +++ b/du3/program.c @@ -131,7 +131,7 @@ int main() //** konecna faza = vypisovanie vysledkov //ak systematicka chyba - if (isLineInvalid = true || op == 'N' || IsArithCorrect(strtof(num1Temp, strtofEndPtr),strtof(num2Temp, strtofEndPtr), op1) == -1) + if (isLineInvalid = true || op1 == 'N' || IsArithCorrect(strtof(num1Temp, strtofEndPtr),strtof(num2Temp, strtofEndPtr), op1) == -1) { printf("CHYBA\n"); }