From 0dde70472e8ddb5727ea358e648fb7094d619db1 Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 21 Feb 2024 18:06: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 2156f71..16fc792 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