bar: fix typo.

Running 'yambar --backend=wayland' would always error out saying it was
built without wayland support.
This commit is contained in:
Érico Nogueira 2021-07-29 15:57:00 -03:00
parent 741107d31c
commit 7d94631991

View file

@ -399,7 +399,7 @@ bar_new(const struct bar_config *config)
break;
case BAR_BACKEND_WAYLAND:
#if defined(BAR_WAYLAND)
#if defined(ENABLE_WAYLAND)
backend_data = bar_backend_wayland_new();
backend_iface = &wayland_backend_iface;
#else