diff options
Diffstat (limited to 'src/config_cpu.c')
-rw-r--r-- | src/config_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_cpu.c b/src/config_cpu.c index 486af10..216c553 100644 --- a/src/config_cpu.c +++ b/src/config_cpu.c @@ -57,7 +57,7 @@ int config_cpu_load(struct node* n) { } if(strcmp(n->display, "bar") == 0) { - print_bar(12, (float) level, n->text); + print_bar(n->width, (float) level, n->text); } else { // Default to percent display sprintf(n->text, "%02d%%", (int)(level * 100)); |