From: Angus Leeming Date: Fri, 21 Sep 2001 16:24:28 +0000 (+0000) Subject: Small clean-up X-Git-Tag: 1.6.10~20569 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=98f2f8799e5ee0a65648d14a3ba4c27bd48dc043;p=lyx.git Small clean-up git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2787 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/graphics/ImageLoaderXPM.C b/src/graphics/ImageLoaderXPM.C index 37e66132ee..f1958fc47c 100644 --- a/src/graphics/ImageLoaderXPM.C +++ b/src/graphics/ImageLoaderXPM.C @@ -99,7 +99,7 @@ ImageLoaderXPM::runImageLoader(string const & filename) // If setting color_key failed, then fail gracefully! if (color_key != 0) { - attrib.valuemask = attrib.valuemask | XpmColorKey; + attrib.valuemask |= XpmColorKey; attrib.color_key = color_key; } else { @@ -110,6 +110,7 @@ ImageLoaderXPM::runImageLoader(string const & filename) << endl; } + // Load up the pixmap int status = XpmReadFileToPixmap( display, XRootWindowOfScreen(screen),