Merge pull request #3244 from orestisf1993/issue-3220
i3bar: don't reset verbosity when parsing config values
This commit is contained in:
commit
67a60a9454
|
@ -304,8 +304,10 @@ static int config_boolean_cb(void *params_, int val) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp(cur_key, "verbose")) {
|
if (!strcmp(cur_key, "verbose")) {
|
||||||
DLOG("verbose = %d\n", val);
|
if (!config.verbose) {
|
||||||
config.verbose = val;
|
DLOG("verbose = %d\n", val);
|
||||||
|
config.verbose = val;
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue