summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/GipfelWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 0fe60b5..aa0f34c 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -362,7 +362,7 @@ GipfelWidget::set_labels(Hills *v) {
overlap(m->y + m->label_y - height,
m->y + m->label_y, n->y - 2, n->y + 2))) {
- m->label_y = (int) rint(n->y + n->label_y - m->y - height - 1);
+ m->label_y = (int) rint(n->y + n->label_y - m->y - height - 2);
}
}
}