mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Bugfix: mixerbar showed wrong values
This commit is contained in:
parent
1de13eb728
commit
96ec637af9
@ -318,10 +318,10 @@ void scan_mixer_bar(struct text_object *obj, const char *arg)
|
||||
|
||||
if (arg && sscanf(arg, "%63s %n", buf1, &n) >= 1) {
|
||||
obj->data.i = mixer_init(buf1);
|
||||
scan_bar(obj, arg + n, 255);
|
||||
scan_bar(obj, arg + n, 100);
|
||||
} else {
|
||||
obj->data.i = mixer_init(NULL);
|
||||
scan_bar(obj, arg, 255);
|
||||
scan_bar(obj, arg, 100);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user