From 410b0d7fede9aee00158175019dda368cd2ffb3e Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 21 Feb 2024 18:10:48 +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 8536cf0..b2d4a89 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 > 127) { + else if (c < ' ' || c >= 127) { continue; // Preskočiť značky } putchar(c); // Vypíš znak