diff --git a/src/elevationgraph.cpp b/src/elevationgraph.cpp index fdc78260..36007f4c 100644 --- a/src/elevationgraph.cpp +++ b/src/elevationgraph.cpp @@ -130,7 +130,7 @@ void ElevationGraph::clear() _trackMin = NAN; _trackMax = NAN; _routeMin = NAN; - _trackMax = NAN; + _routeMax = NAN; GraphView::clear(); }