summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
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;