From 70b6a0a5bea649b487dad1b30fb76a257be7e12f Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 21 Feb 2024 18:07:45 +0100 Subject: [PATCH] changes --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index 16fc792..2156f71 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -14,7 +14,7 @@ int main(){ else if (c == '\n') { line_count++; // Zvýšte počítadlo riadkov na konce riadka } - else if (c <= ' ' || c > '~') { + else if (c < ' ' || c > '~') { continue; // Preskočiť značky } putchar(c); // Vypíš znak