1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 09:08:25 +00:00

Fix another regression from c1277d650bff74d338e001c80a77a449450fd8e9.

This commit is contained in:
Brenden Matthews 2011-10-25 15:32:52 -07:00
parent c1277d650b
commit 8891495558

View File

@ -2995,6 +2995,9 @@ 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;
specials[special_index].graph_width = w - 1;
if (specials[special_index].graph_width != specials[special_index].graph_allocated) {
w = specials[special_index].graph_allocated + 1;
}
}
if (w < 0) {
w = 0;