Skip to content

Commit

Permalink
Fixed use of metric reported in #2387
Browse files Browse the repository at this point in the history
... The setting of metric was inverted in b3f8f4c
  • Loading branch information
Leif Warland committed Mar 27, 2017
1 parent ad97fbe commit e52a27d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FileIO/PolarRideFile.cpp
Expand Up @@ -294,7 +294,8 @@ void HrmRideFile(RideFile *rideFile, RideFile*gpxresult, bool haveGPX, XDataSeri
// this differently
//

metric = smode.length()>6 && smode.at(7)=='1';
if (smode.length()>6 && smode.at(7)=='1')
metric = false;

} else if (line.contains("Interval=")) {

Expand Down

0 comments on commit e52a27d

Please sign in to comment.