Aktualizovat "program.c

This commit is contained in:
Michal Čabra 2019-10-25 11:04:40 +00:00
parent 6e7614f45d
commit ad58f81cd2

View File

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