Commit 0acea735 authored by Philip Lafleur's avatar Philip Lafleur Committed by Philip Lafleur

The preview's row buffer was accidentally made way too large.

2004-06-29  Philip Lafleur  <plafleur@cvs.gnome.org>

	* plug-ins/common/unsharp.c: The preview's row buffer was
	accidentally made way too large.
parent 41b739a7
2004-06-29 Philip Lafleur <plafleur@cvs.gnome.org>
* plug-ins/common/unsharp.c: The preview's row buffer was
accidentally made way too large.
2004-06-29 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpwidgets-utils.[ch]: added new function
......
......@@ -914,9 +914,9 @@ preview_update (void)
if (gimp_drawable_type (drawable->drawable_id) == GIMP_GRAY_IMAGE ||
gimp_drawable_type (drawable->drawable_id) == GIMP_GRAYA_IMAGE)
row_buffer = g_new (guchar, preview_width * preview_height);
row_buffer = g_new (guchar, preview_width);
else
row_buffer = g_new (guchar, preview_width * preview_height * 3);
row_buffer = g_new (guchar, preview_width * 3);
for ( ; y < buf_y ; y++ )
{
......
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