summaryrefslogtreecommitdiff
path: root/src/Stitch.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2013-10-11 20:08:53 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2013-10-11 20:08:53 +0200
commit726ab3d3492c481af3f612f525231ba18dddf7a6 (patch)
treefee23369af515417639a4c406435efa628f6d46c /src/Stitch.cxx
parenta1957ae738e07e76b48f1d9e77fbd884ec3c9c84 (diff)
call comp_params() automatically on release when more than 1 hill is marked
Diffstat (limited to 'src/Stitch.cxx')
-rw-r--r--src/Stitch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx
index 23bb4ad..7b9fc04 100644
--- a/src/Stitch.cxx
+++ b/src/Stitch.cxx
@@ -42,7 +42,7 @@ int
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] = new GipfelWidget(0, 0, 800, 600, NULL);
if (gipf[i]->load_image(file) != 0) {
delete gipf[i];
gipf[i] = NULL;