From f580e9fc33710b4fc501c0fa93f226e0d469a7c9 Mon Sep 17 00:00:00 2001 From: metalstrolch Date: Sun, 18 Aug 2019 21:20:42 +0200 Subject: Fix some typos. --- navit/vehicle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/navit/vehicle.c b/navit/vehicle.c index 6cb527f9f..f0094e804 100644 --- a/navit/vehicle.c +++ b/navit/vehicle.c @@ -327,7 +327,7 @@ void vehicle_set_cursor(struct vehicle *this_, struct cursor *cursor, int overwr this_->animate_callback=callback_new_2(callback_cast(vehicle_draw_do), this_, 0); this_->animate_timer=event_add_timeout(cursor->interval, 1, this_->animate_callback); } - /* we changed the curser, so the overlay (if existing) may need a resize */ + /* we changed the cursor, so the overlay (if existing) may need a resize */ this_->need_resize=1; this_->cursor=cursor; @@ -368,7 +368,7 @@ void vehicle_draw(struct vehicle *this_, struct graphics *gra, struct point *pnt /* recalculate real size of the required overlay */ navit_float radius; - /* get the radius of the out cyrcle. Pythagoras greets */ + /* get the radius of the out circle. Pythagoras greets */ radius = navit_sqrt((this_->cursor->w * this_->cursor->w) + (this_->cursor->h * this_->cursor->h)); /* since we rotate the rectangle around the center to indicate direction, the overlay needs to be at least the * radius of the out circle big. The +1 compensates the rounding error. -- cgit v1.2.1