diff --git a/cv2/program.c b/cv2/program.c index 2bd2ce3..7372d55 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -58,7 +58,7 @@ void sort_pizza_list(struct pizza* list, int n) sorted=true; for(int i=0; i1) + if(compare_pizza(list[i], list[i+1])<0) { tmp=list[i]; list[i]=list[i+1];