From 19257ee4a13fa96385f87e7dfb4a231790c0e0aa Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 21 Feb 2024 17:53:07 +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 257c35e..77f985e 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 > 31 && c <= 127) { + else if (c < ' ' || c > '~') { continue; // Preskočiť značky } putchar(c); // Vypíš znak