diff --git a/src/Screen.cc b/src/Screen.cc index b321d853..666bb3e0 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1408,11 +1408,10 @@ float BScreen::getYGap(int head) { void BScreen::setupConfigmenu(FbTk::Menu &menu) { - struct ConfigMenu::SetupHelper sh = { - .screen = *this, - .rm = m_resource_manager, - .resource = resource, - }; + struct ConfigMenu::SetupHelper sh; + sh.screen = *this; + sh.rm = m_resource_manager; + sh.resource = resource; menu.removeAll(); ConfigMenu::setup(menu, sh);