mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-24 07:38:27 +00:00
right alignment fix
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@324 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
171d9c1f87
commit
74e7721846
@ -3530,7 +3530,7 @@ static void draw_line(char *s)
|
|||||||
|
|
||||||
case BAR:
|
case BAR:
|
||||||
{
|
{
|
||||||
if (cur_x > maximum_width - text_start_x && maximum_width > 0) {
|
if (cur_x - maximum_width - text_start_x && maximum_width > 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int h =
|
int h =
|
||||||
@ -3586,7 +3586,7 @@ static void draw_line(char *s)
|
|||||||
|
|
||||||
case GRAPH:
|
case GRAPH:
|
||||||
{
|
{
|
||||||
if (cur_x > maximum_width - text_start_x && maximum_width > 0) {
|
if (cur_x - maximum_width - text_start_x && maximum_width > 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int h =
|
int h =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user