summaryrefslogtreecommitdiff
path: root/navit/map/mg/poly.c
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@users.noreply.github.com>2018-04-26 10:12:26 -0700
committerjkoan <jkoan@users.noreply.github.com>2018-04-26 19:12:26 +0200
commit221f783ea1caaaab2f5ceadc6b0fb3e720aac3df (patch)
tree1ecf89faa1dfa550477669b05ef5c36e9864f68a /navit/map/mg/poly.c
parent011bb15468b4cb626e9facecba924b04bd494d7f (diff)
downloadnavit-221f783ea1caaaab2f5ceadc6b0fb3e720aac3df.tar.gz
Fix:debug:Change line separators for dbg to work also on win* platform (#546)
* Fix:debug:Change line separators for dbg to work also on win* platform * Fix:debug:Break multiline dbg statements to use the new model * Fix:debug:Move the EOL into debug_vprintf
Diffstat (limited to 'navit/map/mg/poly.c')
-rw-r--r--navit/map/mg/poly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/map/mg/poly.c b/navit/map/mg/poly.c
index 7c73d4587..b759301e3 100644
--- a/navit/map/mg/poly.c
+++ b/navit/map/mg/poly.c
@@ -225,7 +225,7 @@ poly_get(struct map_rect_priv *mr, struct poly_priv *poly, struct item *item)
item->type=type_rail;
break;
default:
- dbg(lvl_error,"Unknown poly type 0x%x '%s' 0x%x,0x%x\n", poly->type,poly->name,r.lu.x,r.lu.y);
+ dbg(lvl_error,"Unknown poly type 0x%x '%s' 0x%x,0x%x", poly->type,poly->name,r.lu.x,r.lu.y);
item->type=type_street_unkn;
}
if (!map_selection_contains_item(mr->cur_sel, 0, item->type)) {
@@ -235,10 +235,10 @@ poly_get(struct map_rect_priv *mr, struct poly_priv *poly, struct item *item)
}
} else
mr->b.p=poly->subpoly_next;
- dbg(lvl_debug,"%d %d %s\n", poly->subpoly_num_all, mr->b.block_num, poly->name);
+ dbg(lvl_debug,"%d %d %s", poly->subpoly_num_all, mr->b.block_num, poly->name);
item->id_lo=poly->subpoly_num_all | (mr->b.block_num << 16);
item->id_hi=(mr->current_file << 16);
- dbg(lvl_debug,"0x%x 0x%x\n", item->id_lo, item->id_hi);
+ dbg(lvl_debug,"0x%x 0x%x", item->id_lo, item->id_hi);
poly->subpoly_next=mr->b.p+L(poly->count[poly->subpoly_num])*sizeof(struct coord);
poly->subpoly_num++;
poly->subpoly_num_all++;