fixed histogram sorting.

This commit is contained in:
beard%netscape.com 1999-10-19 03:03:12 +00:00
parent 7d3cd73303
commit 5b5e74b2d3

View File

@ -299,7 +299,7 @@ public class leaksoup {
public int compare(Object obj1, Object obj2) {
Type t1 = (Type) obj1, t2 = (Type) obj2;
return (hist.count(t2) * t1.mSize - hist.count(t2) * t2.mSize);
return (hist.count(t1) * t1.mSize - hist.count(t2) * t2.mSize);
}
}