Skip to content

Commit

Permalink
fix: tpyo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Jan 31, 2024
1 parent 6dcae2c commit f101632
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@ int waybar::Client::main(int argc, char *argv[]) {
setupCss(css_file);
});

auto config = config.getConfig();
if (config.isObject() && config["reload_style_on_change"].asBool()) {
auto m_config = config.getConfig();

Check warning on line 273 in src/client.cpp

View workflow job for this annotation

GitHub Actions / build

src/client.cpp:273:8 [readability-identifier-naming]

invalid case style for variable 'm_config'

Check warning on line 273 in src/client.cpp

View workflow job for this annotation

GitHub Actions / build

src/client.cpp:273:8 [readability-identifier-naming]

invalid case style for variable 'm_config'
if (m_config.isObject() && m_config["reload_style_on_change"].asBool()) {
m_cssReloadHelper->monitorChanges();
} else if (config.isArray()) {
for (const auto &conf : config) {
} else if (m_config.isArray()) {
for (const auto &conf : m_config) {
if (conf["reload_style_on_change"].asBool()) {
m_cssReloadHelper->monitorChanges();
break;
Expand Down

0 comments on commit f101632

Please sign in to comment.