summaryrefslogtreecommitdiff
path: root/src/config_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config_mem.c')
-rw-r--r--src/config_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_mem.c b/src/config_mem.c
index 09dde81..c85e86f 100644
--- a/src/config_mem.c
+++ b/src/config_mem.c
@@ -57,7 +57,7 @@ int config_mem_load(struct node* n) {
strcpy(n->label_color, C_LGREY);
if(strcmp(n->display, "bar") == 0) {
- print_bar(12, (double)used / total, n->text);
+ print_bar(n->width, (double)used / total, n->text);
} else {
sprintf(n->text, "%02d%%", percent);
}

Generated by cgit