1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 20:11:11 +00:00

linkstatus now follows use_spacer. closes bug #1577580

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@778 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2006-11-15 20:24:43 +00:00
parent ec5f364be3
commit ef3d0a19fe
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# $Id$
2006-11-15
* Change linkstatus display for use_spacer. Closes bug #1577580.
2006-11-14
* Fix compile error with --disable-x11.
* Add new timed thread abstraction routines.

View File

@ -3446,8 +3446,14 @@ static void generate_text_internal(char *p, int p_max_size, struct text_object *
}
OBJ(linkstatus) {
snprintf(p, p_max_size, "%d",
if (!use_spacer) {
snprintf(p, p_max_size, "%d",
obj->data.net->linkstatus);
} else
{
snprintf(p, 6, "%d ",
obj->data.net->linkstatus);
}
}
#if defined(IMLIB2) && defined(X11)
OBJ(image) {