diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/GipfelWidget.cxx | 4 |
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(); |