summaryrefslogtreecommitdiff
path: root/navit/navit.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-02-23 21:09:07 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-02-23 21:09:07 +0000
commit7929e032ca4f4e1733c6f10dd9ade37052542713 (patch)
tree17040644692aa50b7b6385eeb0408782218dfd27 /navit/navit.c
parent78f34e2641259e5f5e1f17d4ee03bd1383185902 (diff)
downloadnavit-7929e032ca4f4e1733c6f10dd9ade37052542713.tar.gz
Fix:Core:Moved callback to better position for initial osd drawing
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2965 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.c')
-rw-r--r--navit/navit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/navit.c b/navit/navit.c
index d4bfbc74e..50d68fc65 100644
--- a/navit/navit.c
+++ b/navit/navit.c
@@ -260,10 +260,10 @@ navit_handle_resize(struct navit *this_, int w, int h)
graphics_init(this_->gra);
graphics_set_rect(this_->gra, &sel.u.p_rect);
}
+ if (callback)
+ callback_list_call_attr_1(this_->attr_cbl, attr_graphics_ready, this_);
if (this_->ready == 3)
navit_draw(this_);
- if (callback)
- callback_list_call_attr_1(this_->attr_cbl, attr_graphics_ready, this_);
}
static void