mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +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 setting color_key failed, then fail gracefully!
|
||||||
if (color_key != 0) {
|
if (color_key != 0) {
|
||||||
attrib.valuemask = attrib.valuemask | XpmColorKey;
|
attrib.valuemask |= XpmColorKey;
|
||||||
attrib.color_key = color_key;
|
attrib.color_key = color_key;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -110,6 +110,7 @@ ImageLoaderXPM::runImageLoader(string const & filename)
|
|||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Load up the pixmap
|
||||||
int status = XpmReadFileToPixmap(
|
int status = XpmReadFileToPixmap(
|
||||||
display,
|
display,
|
||||||
XRootWindowOfScreen(screen),
|
XRootWindowOfScreen(screen),
|
||||||
|
Loading…
Reference in New Issue
Block a user