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

sf.net bug 1367745

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@438 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-12-06 03:33:59 +00:00
parent 99f4db7766
commit 0633e854c7
2 changed files with 14 additions and 3 deletions

View File

@ -1,6 +1,9 @@
# $Id$
2003-11-30
2005-12-05
* Fixed sf.net bug 1367745
2005-11-30
* Fixed sf.net bugs 1369607, 1367735 and gentoo bug 113921,
all variations of the same array out of bounds issue.
* "Fixed" code in fs.c and conky.c to make fs stats match those displayed by df

View File

@ -2050,10 +2050,18 @@ static void generate_text()
get_freq(p, n, "%'.2f", 1000); /* pk */
}
OBJ(freq_dyn) {
get_freq_dynamic(p, n, "%.0f", 1 ); /* pk */
if (use_spacer) {
get_freq_dynamic(p, 6, "%.0f ", 1 ); /* pk */
} else {
get_freq_dynamic(p, n, "%.0f", 1 ); /* pk */
}
}
OBJ(freq_dyn_g) {
get_freq_dynamic(p, n, "%'.2f", 1000); /* pk */
if (use_spacer) {
get_freq_dynamic(p, 6, "%'.2f ", 1000); /* pk */
} else {
get_freq_dynamic(p, n, "%'.2f", 1000); /* pk */
}
}
OBJ(adt746xcpu) {
get_adt746x_cpu(p, n); /* pk */