summaryrefslogtreecommitdiff
path: root/navit/item.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/item.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/item.c')
-rw-r--r--navit/item.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/item.c b/navit/item.c
index 2e00ea1fa..5f58a169e 100644
--- a/navit/item.c
+++ b/navit/item.c
@@ -488,7 +488,7 @@ item_hash_insert(struct item_hash *h, struct item *item, void *val)
{
struct item *hitem=g_new(struct item, 1);
*hitem=*item;
- dbg(lvl_info,"inserting (0x%x,0x%x) into %p\n", item->id_hi, item->id_lo, h->h);
+ dbg(lvl_info,"inserting (0x%x,0x%x) into %p", item->id_hi, item->id_lo, h->h);
g_hash_table_insert(h->h, hitem, val);
}
@@ -497,9 +497,9 @@ item_hash_remove(struct item_hash *h, struct item *item)
{
int ret;
- dbg(lvl_info,"removing (0x%x,0x%x) from %p\n", item->id_hi, item->id_lo, h->h);
+ dbg(lvl_info,"removing (0x%x,0x%x) from %p", item->id_hi, item->id_lo, h->h);
ret=g_hash_table_remove(h->h, item);
- dbg(lvl_info,"ret=%d\n", ret);
+ dbg(lvl_info,"ret=%d", ret);
return ret;
}