1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +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) { if (arg && sscanf(arg, "%63s %n", buf1, &n) >= 1) {
obj->data.i = mixer_init(buf1); obj->data.i = mixer_init(buf1);
scan_bar(obj, arg + n, 255); scan_bar(obj, arg + n, 100);
} else { } else {
obj->data.i = mixer_init(NULL); obj->data.i = mixer_init(NULL);
scan_bar(obj, arg, 255); scan_bar(obj, arg, 100);
} }
} }