diff --git a/du6/program.c b/du6/program.c index 448ca65..1b2125a 100644 --- a/du6/program.c +++ b/du6/program.c @@ -87,6 +87,7 @@ void print(struct LIS *list,int count,int places){ int i=1; if(count==1){ i=0; + count--; } for(i;i<=count;i++){ if(list[i].num==2 && list[i].fname[0]!='\n'){