# HG changeset patch # User ib # Date 1301942125 0 # Node ID 6328f0baeaa922d212d4201fadd7a569205b7ee2 # Parent a5dc70e2cda3f4a435d012d7200c9a8186f60147 Don't change original image during conversion. diff -r a5dc70e2cda3 -r 6328f0baeaa9 gui/util/bitmap.c --- a/gui/util/bitmap.c Mon Apr 04 18:25:11 2011 +0000 +++ b/gui/util/bitmap.c Mon Apr 04 18:35:25 2011 +0000 @@ -242,10 +242,8 @@ if (buf[i] != transparent) tmp |= 0x80; - else { - buf[i] = 0; + else shaped = 1; - } if (++b == 8) { out->Image[c++] = tmp;