diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-27 11:06:12 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-03-27 11:06:12 +0100 |
commit | ce3d95455f4a5b7372b6ba4676f1692ae73569f9 (patch) | |
tree | cab2d8b1d5776f0dae86c03adf930c0c56470316 | |
parent | c4c24f1876c638e700f26c68dc5056134e13ade3 (diff) |
style
-rw-r--r-- | src/GipfelWidget.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 3f3b7cd..444aea7 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -338,13 +338,12 @@ overlap(double m1, double n1, double m2, double n2) { void GipfelWidget::set_labels(Hills *v) { int width, height; - Hill *m, *n; fl_font(FL_HELVETICA, 8); height = fl_height(); for (int i = 0; i < v->get_num(); i++) { - m = v->get(i); + Hill *m = v->get(i); if (m->flags & (Hill::DUPLICATE | Hill::TRACK_POINT)) continue; @@ -356,7 +355,7 @@ GipfelWidget::set_labels(Hills *v) { m->label_x = width; m->label_y = 0; for (int j = 0; j < i; j++) { - n = v->get(j); + Hill *n = v->get(j); if (n->flags & (Hill::DUPLICATE | Hill::TRACK_POINT)) continue; |