Commit fde8cad8 authored by Soeren Sandmann's avatar Soeren Sandmann Committed by Søren Sandmann Pedersen

fix bug (skipping all black pixels).

Tue Feb 19 20:56:32 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
	black pixels).
parent 6dea3cae
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
Tue Feb 19 20:56:32 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).
2002-02-19 Sven Neumann <sven@gimp.org>
* examples/*/*.c: finish conversion to g_signal_* functions by
......@@ -174,6 +179,7 @@ Sun Feb 17 21:30:49 2002 Owen Taylor <otaylor@redhat.com>
* docs/tutorial/gtk-tut.sgml, examples/paned/paned.c,
examples/paned/Makefile: Make the paned example deprecation-clean.
>>>>>>> 1.3035
2002-02-17 jacob berkman <jacob@ximian.com>
* Makefile.am: remove the packer example files as they don't exist
......
......@@ -58,9 +58,9 @@ do_part (GdkPixbuf *pixbuf,
while (n--)
{
if ((part1_index > 0 && memcmp (p, color1, n_channels) == 0) ||
(part2_index > 0 && memcmp (p, color2, n_channels) == 0) ||
(part3_index > 0 && memcmp (p, color3, n_channels) == 0))
if ((part1_index >= 0 && memcmp (p, color1, n_channels) == 0) ||
(part2_index >= 0 && memcmp (p, color2, n_channels) == 0) ||
(part3_index >= 0 && memcmp (p, color3, n_channels) == 0))
byte |= bit;
if (bit == 0x80)
......
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