From: Martin S. <mar...@us...> - 2007-12-20 20:44:40
|
Update of /cvsroot/navit/navit/src In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28361 Modified Files: navit.c Log Message: Bugfix Index: navit.c =================================================================== RCS file: /cvsroot/navit/navit/src/navit.c,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** navit.c 20 Dec 2007 20:39:48 -0000 1.53 --- navit.c 20 Dec 2007 20:44:42 -0000 1.54 *************** *** 158,165 **** struct map_selection sel; memset(&sel, 0, sizeof(sel)); ! sel.u.p_rect.lu.x=w/4; ! sel.u.p_rect.lu.y=h/4; ! sel.u.p_rect.rl.x=w*3/4; ! sel.u.p_rect.rl.y=h*3/4; transform_set_screen_selection(this_->trans, &sel); navit_draw(this_); --- 158,163 ---- struct map_selection sel; memset(&sel, 0, sizeof(sel)); ! sel.u.p_rect.rl.x=w; ! sel.u.p_rect.rl.y=h; transform_set_screen_selection(this_->trans, &sel); navit_draw(this_); |