mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
a25d7f90ce
commit
98f2f8799e
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user