From: martin-s Date: Sat, 18 Oct 2008 17:32:45 +0000 (+0000) Subject: Fix:Core:Changed g_assert to dbg_assert X-Git-Tag: navit-0.5.0.5194svn~3670 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eeee78af66774af4b42ed4a4fc550eda26403b8;p=profile%2Fivi%2Fnavit.git Fix:Core:Changed g_assert to dbg_assert git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1487 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/map.h b/navit/navit/map.h index 3a76e7f..bcbb102 100644 --- a/navit/navit/map.h +++ b/navit/navit/map.h @@ -157,16 +157,16 @@ map_selection_contains_rect(struct map_selection *sel, struct coord_rect *r) { struct map_selection *curr; - g_assert(r->lu.x <= r->rl.x); - g_assert(r->lu.y >= r->rl.y); + dbg_assert(r->lu.x <= r->rl.x); + dbg_assert(r->lu.y >= r->rl.y); if (! sel) return 1; curr=sel; while (curr) { struct coord_rect *sr=&curr->u.c_rect; - g_assert(sr->lu.x <= sr->rl.x); - g_assert(sr->lu.y >= sr->rl.y); + dbg_assert(sr->lu.x <= sr->rl.x); + dbg_assert(sr->lu.y >= sr->rl.y); if (r->lu.x <= sr->rl.x && r->rl.x >= sr->lu.x && r->lu.y >= sr->rl.y && r->rl.y <= sr->lu.y) return 1;