diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-06-29 21:19:03 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-06-29 21:19:03 +0200 |
commit | 3ad29069b15a21d1b9f3d965d70cecce8c650c4c (patch) | |
tree | e097d53f63a3b4dfac9c32eb4911158852898904 /src | |
parent | fe07ad525e8326bf857d5ac8e1998ff3b7c343d1 (diff) |
fix core with small image heights
Diffstat (limited to 'src')
-rw-r--r-- | src/Stitch.cxx | 2 |
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(); } |