1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00

maximum_width

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@161 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2005-08-24 06:29:53 +00:00
parent 327e723e8e
commit 84f29d62fc

View File

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