Commit 9f750f94 authored by Pedro Gimeno's avatar Pedro Gimeno Committed by Pedro Gimeno Fortea
Browse files

Change tabs to spaces all over the file, in preparation for other changes.

2004-04-18  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/gauss_iir.c: Change tabs to spaces all over the
	file, in preparation for other changes. Minor cleanup.

	* plug-ins/common/gauss_rle.c (gauss_rle): Plug a leak with the
	returned value from make_curve().

	* plug-ins/common/tga.c (load_image): Fix a condition which was
	preventing GRAYA images from loading.
parent 89cf4554
2004-04-18 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/gauss_iir.c: Change tabs to spaces all over the
file, in preparation for other changes. Minor cleanup.
* plug-ins/common/gauss_rle.c (gauss_rle): Plug a leak with the
returned value from make_curve().
* plug-ins/common/tga.c (load_image): Fix a condition which was
preventing GRAYA images from loading.
2004-04-18 Sven Neumann <sven@gimp.org>
* app/widgets/Makefile.am
......
This diff is collapsed.
......@@ -585,7 +585,7 @@ gauss_rle (GimpDrawable *drawable,
total = sum[length] - sum[-length];
for (col = 0; col < width; col++)
for (col = 0; col < width; col++)
{
gimp_pixel_rgn_get_col (&src_rgn, src, col + x1, y1, (y2 - y1));
if (has_alpha)
......@@ -656,6 +656,7 @@ gauss_rle (GimpDrawable *drawable,
{
std_dev = sqrt (-(horz * horz) / (2 * log (1.0 / 255.0)));
g_free (curve);
curve = make_curve (std_dev, &length);
sum = g_new (gint, 2 * length + 1);
......@@ -734,6 +735,7 @@ gauss_rle (GimpDrawable *drawable,
g_free (buf);
g_free (src);
g_free (dest);
g_free (curve);
}
/*
......
......@@ -526,7 +526,7 @@ load_image (const gchar *filename)
}
break;
case TGA_TYPE_GRAY:
if (info.bpp != 8 && (info.alphaBits != 8 || (info.bpp != 16 || info.bpp != 15)))
if (info.bpp != 8 && (info.alphaBits != 8 || (info.bpp != 16 && info.bpp != 15)))
{
g_message ("Unhandled sub-format in '%s'",
gimp_filename_to_utf8 (filename));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment