From 078948e565a46693ced0b1088736f169572224e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Cabra?= Date: Fri, 25 Oct 2019 10:44:32 +0000 Subject: [PATCH] Aktualizovat "program.c --- program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program.c b/program.c index fb7bef7..3f6efbc 100644 --- a/program.c +++ b/program.c @@ -83,7 +83,7 @@ int read_item(struct pizza* item){ //printf("Koniec r riadku\n"); break; } - else if((line[i]>='a' && line[i]<='z') || (line[i]>='A' && line[i]<='Z') || line[i]==' '){ + else if((line[i]>='a' && line[i]<='z') || (line[i]>='A' && line[i]<='Z') || line[i]==' ' || || line[i]=='-'){ //printf("%c\n",line[i]); i++; }