summaryrefslogtreecommitdiff
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
parent3951b5f55066c381f8c399791bb8740b2404700d (diff)
fix crash in stitching mode
-rw-r--r--NEWS4
-rw-r--r--src/Stitch.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 10d0fc6..7f61e21 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,10 @@
gipfel ChangeLog
=================
+gipfel-0.2.8
+* Fix issue with image saving on some platforms (reported by David Mitchell).
+* Fix crash in stitching mode.
+
gipfel-0.2.7
* Import data from http://www.viewfinderpanoramas.org/ with the
kind permission of Jonathan de Ferranti. Thanks a lot!
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;