]> git.lyx.org Git - features.git/commitdiff
small graphics fix from John
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 17 Jan 2002 17:39:38 +0000 (17:39 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 17 Jan 2002 17:39:38 +0000 (17:39 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3409 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/ChangeLog
src/graphics/ImageLoaderXPM.C

index 5f29f770d3b78fe152799855b69fc84d2f271d7b..ad2b443b2dfe2eba4e4763986defd7c31b1427a4 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
+
+       * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * GraphicsCacheItem.h: do not include <config.h> in header files
index f1958fc47c03529d4ea11f1b18ffeb73f95a4ea2..720041ded53ef62d1cc2612dd852c440f9cc9401 100644 (file)
@@ -77,7 +77,7 @@ ImageLoaderXPM::runImageLoader(string const & filename)
        xpm_col.pixel = lyxColorHandler->colorPixel(LColor::graphicsbg);
 
        XpmAttributes attrib;
-       attrib.valuemask = XpmCloseness | XpmColorSymbols | XpmColorKey;
+       attrib.valuemask = XpmCloseness | XpmColorSymbols;
 
        attrib.closeness = 10000;