mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-25 04:06:03 +00:00
tiny fix
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@146 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
c7272e9f56
commit
d675f04728
@ -2745,7 +2745,11 @@ short colour_depth = 0;
|
|||||||
|
|
||||||
void set_up_gradient()
|
void set_up_gradient()
|
||||||
{
|
{
|
||||||
|
#ifdef X11
|
||||||
colour_depth = DisplayPlanes(display, screen);
|
colour_depth = DisplayPlanes(display, screen);
|
||||||
|
#else
|
||||||
|
colour_depth = 16;
|
||||||
|
#endif /* X11 */
|
||||||
if (colour_depth != 24 && colour_depth != 16) {
|
if (colour_depth != 24 && colour_depth != 16) {
|
||||||
ERR("using non-standard colour depth, gradients may look like a lolly-pop");
|
ERR("using non-standard colour depth, gradients may look like a lolly-pop");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user