# HG changeset patch # User viric@mandarina # Date 1186841547 -7200 # Node ID b2dfe3374454feacf64c59b371228006eeb58f82 # Parent ba1b3c2fcff212b86c409ea42e9721253325129f Fixed filtered %, and msg on sort. diff -r ba1b3c2fcff2 -r b2dfe3374454 filter.c --- a/filter.c Sat Aug 11 16:01:25 2007 +0200 +++ b/filter.c Sat Aug 11 16:12:27 2007 +0200 @@ -215,7 +215,7 @@ { dispndefs = 0; printf("Filtered: %i/%i (%f%%)\n", filtereddefs, ndefs, - (float) filtereddefs / (float) ndefs); + (float) filtereddefs / (float) ndefs * 100.); } } } diff -r ba1b3c2fcff2 -r b2dfe3374454 sort.c --- a/sort.c Sat Aug 11 16:01:25 2007 +0200 +++ b/sort.c Sat Aug 11 16:12:27 2007 +0200 @@ -15,5 +15,6 @@ int sort_words() { + printf("Sorting...\n"); qsort(words, nwords, sizeof(words[0]), cmp_words); }