Update src/client.cpp
Co-Authored-By: Alex <alexisr245@gmail.com>
This commit is contained in:
parent
3ff1f28533
commit
9525663014
|
@ -77,7 +77,7 @@ bool waybar::Client::isValidOutput(const Json::Value &config, struct waybar_outp
|
||||||
|
|
||||||
if (config["output"].isArray()) {
|
if (config["output"].isArray()) {
|
||||||
for (auto const &output_conf : config["output"]) {
|
for (auto const &output_conf : config["output"]) {
|
||||||
if (output_conf.isString()) {
|
if (output_conf.isString() && check_output(output_conf.asString(), output)) {
|
||||||
if(check_output(output_conf.asString(), output)) {
|
if(check_output(output_conf.asString(), output)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue