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:
parent
ddedc640d1
commit
119ead12de
@ -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
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user