1
0
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:
Nikolas Garofil 2010-04-12 13:37:49 +02:00
parent 1de13eb728
commit 96ec637af9

View File

@ -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);
}
}