From 3ad29069b15a21d1b9f3d965d70cecce8c650c4c Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 29 Jun 2006 21:19:03 +0200 Subject: fix core with small image heights --- src/Stitch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.2.3