Skip to content

Commit

Permalink
fix: ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Oct 25, 2018
1 parent f3fe57d commit 68d9d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ waybar::IModule* waybar::Factory::makeModule(const std::string &name) const
if (name == "clock") {
return new waybar::modules::Clock(config_[name]);
}
#ifdef DHAVE_DBUSMENU
#ifdef HAVE_DBUSMENU
if (name == "tray") {
return new waybar::modules::SNI::Tray(config_[name]);
}
Expand Down

0 comments on commit 68d9d2c

Please sign in to comment.