Aktualizovat "program.c

This commit is contained in:
Michal Čabra 2019-10-25 11:02:29 +00:00
parent 843d229eed
commit a6d3bfc977

View File

@ -23,7 +23,7 @@ int compare_pizza(const void * left, const void * right) {
return -1; return -1;
} }
else{ else{
i=0; int i=0;
while(1){ while(1){
if(a->name[i]=='\n' || b->name[i]=='\n'){ if(a->name[i]=='\n' || b->name[i]=='\n'){
break; break;