From efe6ff46fe7cdb2026cc217f05a84bcf3e90d011 Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 21 Feb 2024 18:09:28 +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 2156f71..8536cf0 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 > 127) { continue; // Preskočiť značky } putchar(c); // Vypíš znak