summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-18 23:35:39 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-18 23:35:39 +0100
commitebbe5cef661a6179db934f21e4483a508fd934eb (patch)
tree14f5de0d947953cc3b80e0a21ab431419d49ea06 /src
parentb4a72f1e2f8c9beed783dcae1a1a3a71f3be76cd (diff)
fix tracks
Diffstat (limited to 'src')
-rw-r--r--src/GipfelWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index f6a662e..4f250cb 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -271,7 +271,7 @@ GipfelWidget::draw() {
int last_x = 0, last_y = 0, last_initialized = 0;
for (i=1; i<track_points->get_num(); i++) {
- m = mnts->get(i);
+ m = track_points->get(i);
int m_x = w() / 2 + x() + (int) rint(m->x);
int m_y = h() / 2 + y() + (int) rint(m->y);
if (!(track_points->get(i)->flags & Hill::VISIBLE)) {