1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 18:45:10 +00:00

fix for graphs/bars not showing when using max_width

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@330 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-09-24 22:16:07 +00:00
parent ddedc640d1
commit 119ead12de
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# $Id$
2005-09-24
* Fixed bug where graphs/bars don't show when maximum_width is enabled
2005-09-15
* Fixed right-alignment bug thanks to Pascal Eberhard
* Applied patch 1291420 from sf.net

View File

@ -3531,7 +3531,7 @@ static void draw_line(char *s)
case BAR:
{
if (cur_x - maximum_width - text_start_x && maximum_width > 0) {
if (cur_x - text_start_x > maximum_width && maximum_width > 0) {
break;
}
int h =
@ -3587,7 +3587,7 @@ static void draw_line(char *s)
case GRAPH:
{
if (cur_x - maximum_width - text_start_x && maximum_width > 0) {
if (cur_x - text_start_x > maximum_width && maximum_width > 0) {
break;
}
int h =