summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan FitiƩ <jfitie@gmail.com>2017-07-26 22:40:21 +0200
committerJohan FitiƩ <jfitie@gmail.com>2017-07-26 22:40:21 +0200
commit3b7260220f3233f2caf790518c31419f055e6f48 (patch)
tree1fa3053de45f5c92eb6418348504106fd48d31a3
parente64c0a8565dbc0f24e021650e65af789f3e7b1c9 (diff)
downloadnavit-3b7260220f3233f2caf790518c31419f055e6f48.tar.gz
Do not round as we're using a double now
-rw-r--r--navit/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/transform.c b/navit/transform.c
index d77ceb3de..6cecbe94f 100644
--- a/navit/transform.c
+++ b/navit/transform.c
@@ -815,7 +815,7 @@ transform_set_pitch(struct transformation *this_,int pitch)
int w = 240; // TODO FIXME
int h = 320; // TODO FIXME
this_->pitch=pitch;
- this_->corrpitch=round(20*sqrt(240*320)/sqrt(w*h)); // pitch corrected for window resolution
+ this_->corrpitch=20*sqrt(240*320)/sqrt(w*h); // pitch corrected for window resolution
transform_setup_matrix(this_);
}
int