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

Fix another regression from c1277d650b.

This commit is contained in:
Brenden Matthews 2011-10-25 15:32:52 -07:00 committed by Pavel Labath
parent e08ccb7512
commit e9a5b23711

View File

@ -1527,6 +1527,10 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
if (w == 0) {
w = text_start_x + text_width - cur_x - 1;
current->graph_width = w - 1;
if (current->graph_width != current->graph_allocated) {
w = current->graph_allocated + 1;
}
}
if (w < 0) {
w = 0;