diff --git a/du6/program.c b/du6/program.c index 956366c..732a666 100644 --- a/du6/program.c +++ b/du6/program.c @@ -74,7 +74,7 @@ void sort(struct LIS* list,int count){ list[i]=list[mini]; list[mini]=ilusion; } - if(strcmp(min,list[j].fname)>0){ + if(strcmp(min,list[j].fname)>=0){ min=list[j].fname; mini=j; }