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++; }