From a0c541f8245a58ee5cc5192e419d98a942ecdfb9 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 7 Mar 2009 18:47:41 +0100 Subject: move fix for Stitch problem to GipfelWidget constructor --- src/GipfelWidget.cxx | 1 + src/Stitch.cxx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index 9dadba1..c851e65 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -32,6 +32,7 @@ static double pi_d, deg2rad; GipfelWidget::GipfelWidget(int X,int Y,int W, int H): Fl_Group(X, Y, W, H) { + end(); pi_d = asin(1.0) * 2.0; deg2rad = pi_d / 180.0; img = NULL; diff --git a/src/Stitch.cxx b/src/Stitch.cxx index b127de4..e69a28e 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -43,7 +43,6 @@ Stitch::load_image(char *file) { for (int i=0; iend(); if (gipf[i]->load_image(file) != 0) { delete gipf[i]; gipf[i] = NULL; -- cgit v1.2.3