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:
parent
e08ccb7512
commit
e9a5b23711
@ -1527,6 +1527,10 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
|
|||||||
if (w == 0) {
|
if (w == 0) {
|
||||||
w = text_start_x + text_width - cur_x - 1;
|
w = text_start_x + text_width - cur_x - 1;
|
||||||
current->graph_width = w - 1;
|
current->graph_width = w - 1;
|
||||||
|
if (current->graph_width != current->graph_allocated) {
|
||||||
|
w = current->graph_allocated + 1;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if (w < 0) {
|
if (w < 0) {
|
||||||
w = 0;
|
w = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user