mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Minor build fixes
This commit is contained in:
parent
51ff65ede0
commit
32c5f451b9
@ -13,7 +13,7 @@ endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/build.h)
|
|||||||
set(conky_sources colours.c combine.c common.c conky.cc core.cc diskio.c
|
set(conky_sources colours.c combine.c common.c conky.cc core.cc diskio.c
|
||||||
entropy.c exec.c fs.c mail.c mixer.c net_stat.c template.c timed_thread.c
|
entropy.c exec.c fs.c mail.c mixer.c net_stat.c template.c timed_thread.c
|
||||||
mboxscan.c read_tcp.c scroll.c specials.c tailhead.c temphelper.c
|
mboxscan.c read_tcp.c scroll.c specials.c tailhead.c temphelper.c
|
||||||
text_object.c timeinfo.c top.c algebra.c proc.c user.c)
|
text_object.c timeinfo.c top.c algebra.c prioqueue.c proc.c user.c)
|
||||||
|
|
||||||
# Platform specific sources
|
# Platform specific sources
|
||||||
if(OS_LINUX)
|
if(OS_LINUX)
|
||||||
|
@ -1266,7 +1266,7 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
case STIPPLED_HR:
|
case STIPPLED_HR:
|
||||||
{
|
{
|
||||||
int h = specials[special_index].height;
|
int h = specials[special_index].height;
|
||||||
int tmp_s = specials[special_index].arg;
|
char tmp_s = specials[special_index].arg;
|
||||||
int mid = font_ascent() / 2;
|
int mid = font_ascent() / 2;
|
||||||
char ss[2] = { tmp_s, tmp_s };
|
char ss[2] = { tmp_s, tmp_s };
|
||||||
|
|
||||||
@ -1698,7 +1698,7 @@ static void draw_text(void)
|
|||||||
/* draw borders */
|
/* draw borders */
|
||||||
if (draw_borders && window.border_width > 0) {
|
if (draw_borders && window.border_width > 0) {
|
||||||
if (stippled_borders) {
|
if (stippled_borders) {
|
||||||
char ss[2] = { stippled_borders, stippled_borders };
|
char ss[2] = { (char)stippled_borders, (char)stippled_borders };
|
||||||
XSetLineAttributes(display, window.gc, window.border_width, LineOnOffDash,
|
XSetLineAttributes(display, window.gc, window.border_width, LineOnOffDash,
|
||||||
CapButt, JoinMiter);
|
CapButt, JoinMiter);
|
||||||
XSetDashes(display, window.gc, 0, ss, 2);
|
XSetDashes(display, window.gc, 0, ss, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user