corrected sorting criteria

This commit is contained in:
Artem Pavlenko 2008-02-04 16:10:34 +00:00
parent f4949ffca5
commit fa82f6fc50

View file

@ -95,7 +95,7 @@ namespace mapnik {
if (lhs->children_[i]) left_total+=lhs->children_[i]->count;
if (rhs->children_[i]) right_total+=rhs->children_[i]->count;
}
return left_total > right_total;
return left_total < right_total;
}
};