From 44e42805e7c14bd60e4b3282bc8f4681c96364f8 Mon Sep 17 00:00:00 2001 From: kazer_ Date: Tue, 17 Apr 2007 09:00:35 +0000 Subject: [PATCH] First commit so sdl branch. Changed the return value type from double * to double. git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@143 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/vehicle.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/navit/src/vehicle.c b/navit/src/vehicle.c index 747ffff..4af5b9d 100644 --- a/navit/src/vehicle.c +++ b/navit/src/vehicle.c @@ -79,10 +79,10 @@ vehicle_pos_get(struct vehicle *this) return &this->current_pos; } -double * +double vehicle_speed_get(struct vehicle *this) { - return &this->speed; + return this->speed; } double * @@ -91,10 +91,10 @@ vehicle_dir_get(struct vehicle *this) return &this->dir; } -double * +double vehicle_height_get(struct vehicle *this) { - return &this->height; + return this->height; } void -- 2.7.4