From 2b47fe5b6886c07a202d2d366bf23e995ba70c44 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Fri, 14 Oct 2016 21:29:03 +0100 Subject: [PATCH] Fix knots -> km/h conversion in interactive mode. Fixes #153 --- interactive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactive.c b/interactive.c index 98e4c3f..6d3fa5c 100644 --- a/interactive.c +++ b/interactive.c @@ -64,7 +64,7 @@ static int convert_altitude(int ft) static int convert_speed(int kts) { if (Modes.metric) - return (kts / 1.852); + return (kts * 1.852); else return kts; }