diff options
Diffstat (limited to 'src/tsar.c')
| -rw-r--r-- | src/tsar.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -154,6 +154,10 @@ void draw_comp_set(float pos_ratio, comp_t **set, int size) { int y = 0;//(bar_height - font->height) / 2; for (int i = 0; i < size; i++) { comp_t *comp = set[i]; + if (strlen(comp->data) == 0) { + continue; + } + draw_text(comp, x, y); int margin = comp->margin_left + comp->margin_right; |
