diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-22 11:25:10 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-22 11:25:10 +0200 |
commit | 9e6e11a5d43ae677de6c092e7ba998199807893b (patch) | |
tree | a144759e4a495dd4997a8228e1e861fbc2fc2e1d | |
parent | 6edd4ff302090df5e9a840f8fca9f4ec4f31f86c (diff) |
style
-rw-r--r-- | src/GipfelWidget.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 91a9dc5..ca7d7f8 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -298,16 +298,16 @@ GipfelWidget::draw() { 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)) { + + if (!(track_points->get(i)->flags & Hill::VISIBLE)) continue; - } if (track_points->get(i)->flags & Hill::HIDDEN) fl_color(FL_BLUE); else fl_color(FL_RED); - fl_line_style(FL_SOLID|FL_CAP_ROUND|FL_JOIN_ROUND, + fl_line_style(FL_SOLID | FL_CAP_ROUND | FL_JOIN_ROUND, get_rel_track_width(track_points->get(i))); if (last_initialized) { fl_begin_line(); |