Fix:core:use dbg instead of printf
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 4 Mar 2012 13:22:04 +0000 (13:22 +0000)
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 4 Mar 2012 13:22:04 +0000 (13:22 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4962 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/graphics.c

index 3b6a7fc..c345e61 100644 (file)
@@ -1841,7 +1841,7 @@ displayitem_draw(struct displayitem *di, void *dummy, struct display_context *dc
                display_draw_arrows(gra,gc,pa,count);
                break;
        default:
-               printf("Unhandled element type %d\n", e->type);
+               dbg(0, "Unhandled element type %d\n", e->type);
 
        }
        di=di->next;