Fix Mac build error

stable-8
Lukas Werling 2018-02-04 16:20:38 +01:00
parent ce9245c55c
commit be31964c2e
1 changed files with 3 additions and 0 deletions

View File

@ -267,8 +267,11 @@ C4StartupAboutDlg::C4StartupAboutDlg() : C4StartupDlg(LoadResStr("IDS_DLG_ABOUT"
DrawPersonList(C4StartupAboutContributors, contributors, caContributors.GetFromTop(caContributors.GetHeight()));
// FIXME: K_S is not defined for Cocoa builds.
#ifndef USE_COCOA
keySaveCredits = std::make_unique<C4KeyBinding>(C4KeyCodeEx(K_S, KEYS_Control), "StartupAboutSaveCredits", KEYSCOPE_Gui,
new C4GUI::DlgKeyCB<C4StartupAboutDlg>(*this, &C4StartupAboutDlg::SaveCredits), C4CustomKey::PRIO_CtrlOverride);
#endif
}
C4StartupAboutDlg::~C4StartupAboutDlg() = default;