app/gimpimage.c app/layers_dialog.c

Mon Dec 11 22:52:43 GMT 2000 Andy Thomas <alt@gimp.org>

	* app/gimpimage.c
        * app/layers_dialog.c

	Backed out some changes that caused problems with the Nav preview
	and small sized images.
This commit is contained in:
GMT 2000 Andy Thomas
2000-12-11 22:46:40 +00:00
committed by Andy Thomas
parent d7c90b6d67
commit c538b3fe37
10 changed files with 12 additions and 12 deletions

View File

@ -3697,7 +3697,7 @@ gimp_image_construct_composite_preview (GimpImage *gimage,
g_return_val_if_fail (GIMP_IS_IMAGE (gimage), NULL);
list = gimage->layers;
ratio = MIN (1.0, (gdouble) width / (gdouble) gimage->width);
ratio = (gdouble) width / (gdouble) gimage->width;
switch (gimp_image_base_type (gimage))
{