Fix knots -> km/h conversion in interactive mode.

Fixes #153
This commit is contained in:
Oliver Jowett 2016-10-14 21:29:03 +01:00
parent 344415b91f
commit 2b47fe5b68

View file

@ -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;
}