Don't save the mask inverted.

2000-06-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: Don't save the mask inverted.
This commit is contained in:
Michael Natterer
2000-06-05 16:09:10 +00:00
committed by Michael Natterer
parent 17c60b169c
commit edb2e1d1ba
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-06-05 Michael Natterer <mitch@gimp.org>
* plug-ins/common/xbm.c: Don't save the mask inverted.
Mon Jun 5 12:48:10 BST 2000 Adam D. Moss <adam@gimp.org>
* plug-ins/common/animoptimize.c: Fix old bug which could

View File

@ -1094,7 +1094,7 @@ save_image (gchar *filename,
/* Pack INTBITS pixels into an integer. */
if (save_mask)
{
c |= ((data[rowoffset + k + 1] < 128) ? 1 : 0) << (thisbit ++);
c |= ((data[rowoffset + k + 1] < 128) ? 0 : 1) << (thisbit ++);
}
else
{