Update src/client.cpp

Co-Authored-By: Alex <alexisr245@gmail.com>
This commit is contained in:
Vesim 2020-02-18 22:40:21 +01:00 committed by GitHub
parent 3ff1f28533
commit 9525663014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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