summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-06-29 21:19:03 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-06-29 21:19:03 +0200
commit3ad29069b15a21d1b9f3d965d70cecce8c650c4c (patch)
treee097d53f63a3b4dfac9c32eb4911158852898904 /src
parentfe07ad525e8326bf857d5ac8e1998ff3b7c343d1 (diff)
fix core with small image heights
Diffstat (limited to 'src')
-rw-r--r--src/Stitch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx
index 6bd29d2..535995f 100644
--- a/src/Stitch.cxx
+++ b/src/Stitch.cxx
@@ -88,7 +88,7 @@ Stitch::resample(DataImage *img,
}
}
- if (y % (img->h() / 200) == 0) {
+ if (y % (img->h() / 100 + 1) == 0) {
img->redraw();
Fl::check();
}