summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/maptool/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/maptool/misc.c b/navit/maptool/misc.c
index d4ce6f169..90b03d462 100644
--- a/navit/maptool/misc.c
+++ b/navit/maptool/misc.c
@@ -173,8 +173,12 @@ item_order_by_type(enum item_type type)
switch (type) {
case type_town_label_1e7:
case type_town_label_5e6:
+ max=3;
+ break;
case type_town_label_2e6:
case type_town_label_1e6:
+ max=5;
+ break;
case type_town_label_5e5:
case type_district_label_1e7:
case type_district_label_5e6: