projects
/
navit-package
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f159d1
)
Fix the fix
author
zaxl
<zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 8 Jan 2008 17:53:37 +0000
(17:53 +0000)
committer
zaxl
<zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 8 Jan 2008 17:53:37 +0000
(17:53 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@743
ffa7fe5e
-494d-0410-b361-
a75ebd5db220
src/navit.c
patch
|
blob
|
history
diff --git
a/src/navit.c
b/src/navit.c
index
1285ee7
..
99f301b
100644
(file)
--- a/
src/navit.c
+++ b/
src/navit.c
@@
-1175,8
+1175,12
@@
void
navit_set_center_screen(struct navit *this_, struct point *p)
{
struct coord c;
+ struct pcoord pc;
transform_reverse(this_->trans, p, &c);
- navit_set_center(this_, &c);
+ pc.x = c.x;
+ pc.y = c.y;
+ pc.pro = transform_get_projection(this_->trans);
+ navit_set_center(this_, &pc);
}
int