fix assert in openslide read

one of the asserts was broken
This commit is contained in:
John Cupitt 2012-10-15 13:36:08 +01:00
parent 2f65b07abb
commit bf945dcdc5

View File

@ -279,7 +279,7 @@ vips__openslide_generate( VipsRegion *out,
* TILE_HEIGHT pixels and on a tile boundary.
*/
g_assert( (r->left % TILE_WIDTH) == 0 );
g_assert( (r->height % TILE_HEIGHT) == 0 );
g_assert( (r->top % TILE_HEIGHT) == 0 );
g_assert( r->width <= TILE_WIDTH );
g_assert( r->height <= TILE_HEIGHT );