fix factory copy&paste typo

This commit is contained in:
Lena
2024-11-08 16:38:51 +01:00
parent d331331b76
commit 22ec8e0770

View File

@ -335,7 +335,7 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name,
return new waybar::modules::SystemdFailedUnits(id, config_[name]);
}
#endif
#ifdef HAVE_LIBCAVA
#ifdef HAVE_LIBGPS
if (ref == "gps") {
return new waybar::modules::Gps(id, config_[name]);
}