summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-07 16:13:31 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-07 16:13:31 +0100
commitec30dd0c55012c656b3ff419b4b098519955ad9a (patch)
treed5c282e5a3fb5a1a12181c606a5bd50b953a4970 /src
parent3951b5f55066c381f8c399791bb8740b2404700d (diff)
fix crash in stitching mode
Diffstat (limited to 'src')
-rw-r--r--src/Stitch.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx
index e69a28e..b127de4 100644
--- a/src/Stitch.cxx
+++ b/src/Stitch.cxx
@@ -43,6 +43,7 @@ Stitch::load_image(char *file) {
for (int i=0; i<MAX_PICS; i++) {
if (gipf[i] == NULL) {
gipf[i] = new GipfelWidget(0, 0, 800, 600);
+ gipf[i]->end();
if (gipf[i]->load_image(file) != 0) {
delete gipf[i];
gipf[i] = NULL;