don't copy the first row onto itself.

2004-06-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolorbar.c (gimp_color_bar_expose): don't copy
	the first row onto itself.
This commit is contained in:
Sven Neumann 2004-06-12 20:26:16 +00:00 committed by Sven Neumann
parent d76b2183aa
commit 2fd178c624
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-12 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcolorbar.c (gimp_color_bar_expose): don't copy
the first row onto itself.
2004-06-12 Simon Budig <simon@gimp.org>
* app/tools/gimptransformtool.c: Make Enter/Return apply the

View File

@ -183,7 +183,7 @@ gimp_color_bar_expose (GtkWidget *widget,
b[2] = src[2];
}
for (i = 0; i < height; i++)
for (i = 1; i < height; i++)
memcpy (buf + i * width * 3, buf, width * 3);
break;