Skip to content

Commit

Permalink
Merge pull request #2391 from leifwar/master
Browse files Browse the repository at this point in the history
Fixed use of metric reported in #2387
  • Loading branch information
liversedge committed Apr 1, 2017
2 parents b92b37b + 8c3a69d commit a81dc1a
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 a81dc1a

Please sign in to comment.