summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GipfelWidget.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 7cf3377..30172a1 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -343,6 +343,10 @@ void
GipfelWidget::set_labels(Hills *v) {
int height;
+ if (!img)
+ return;
+
+
fl_font(FL_HELVETICA, 8);
height = fl_height();