Small clean-up

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2787 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2001-09-21 16:24:28 +00:00
parent a25d7f90ce
commit 98f2f8799e

View File

@ -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),