From edb2e1d1ba49fc303fea8b8aa5e9e145e5089667 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 5 Jun 2000 16:09:10 +0000 Subject: [PATCH] Don't save the mask inverted. 2000-06-05 Michael Natterer * plug-ins/common/xbm.c: Don't save the mask inverted. --- ChangeLog | 4 ++++ plug-ins/common/xbm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 35173c02fb..8db616f8ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-06-05 Michael Natterer + + * plug-ins/common/xbm.c: Don't save the mask inverted. + Mon Jun 5 12:48:10 BST 2000 Adam D. Moss * plug-ins/common/animoptimize.c: Fix old bug which could diff --git a/plug-ins/common/xbm.c b/plug-ins/common/xbm.c index 33aa5e585a..49f9d500cb 100644 --- a/plug-ins/common/xbm.c +++ b/plug-ins/common/xbm.c @@ -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 {