Aktualizovat "program.c

This commit is contained in:
Michal Čabra 2019-10-25 10:44:32 +00:00
parent 43ecf577d1
commit 078948e565

View File

@ -83,7 +83,7 @@ int read_item(struct pizza* item){
//printf("Koniec r riadku\n"); //printf("Koniec r riadku\n");
break; 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]); //printf("%c\n",line[i]);
i++; i++;
} }