ds
This commit is contained in:
parent
b9ecefbae4
commit
f9a55fc11f
@ -70,6 +70,6 @@ int compare(const void* p1, const void* p2){
|
|||||||
struct student* s2 = (struct student*)p2;
|
struct student* s2 = (struct student*)p2;
|
||||||
// s1->votes je počet hlasov
|
// s1->votes je počet hlasov
|
||||||
// s1->name je meno študenta
|
// s1->name je meno študenta
|
||||||
return (s2->votes)-(s1->votes);
|
return (s2->votes)-(s1->votes)-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user