diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-07-13 20:37:21 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-07-13 20:37:21 +0000 |
commit | 9bf6351195580a917a8beaea8ae09b475733305b (patch) | |
tree | 348982a8ff4008983916195f9330f2eeb6cf6a4b /navit/transform.h | |
parent | 7c7753887db05491b0a5490c596eda4dfec88d36 (diff) | |
download | navit-9bf6351195580a917a8beaea8ae09b475733305b.tar.gz |
Fix:core:Integrate transform_setup into transform_new. Avoids two-step initialization and access to undefined variables in struct transform.|Part of fix for #1145.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5544 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/transform.h')
-rw-r--r-- | navit/transform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/transform.h b/navit/transform.h index e7211cdf8..e58e136d5 100644 --- a/navit/transform.h +++ b/navit/transform.h @@ -39,7 +39,7 @@ struct map_selection; struct pcoord; struct point; struct transformation; -struct transformation *transform_new(void); +struct transformation *transform_new(struct pcoord *center, int scale, int yaw); int transform_get_hog(struct transformation *this_); void transform_set_hog(struct transformation *this_, int hog); int transform_get_attr(struct transformation *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter); |