Fix macro warning due to incorrect define conjunction

master
rubenwardy 2018-11-25 12:54:19 +00:00
parent 2e37ee9565
commit d83fe16a29
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("enable_console", "false"); settings->setDefault("enable_console", "false");
// Altered settings for macOS // Altered settings for macOS
#ifdef __MACH__ && __APPLE__ #if defined(__MACH__) && defined(__APPLE__)
settings->setDefault("keymap_sneak", "KEY_SHIFT"); settings->setDefault("keymap_sneak", "KEY_SHIFT");
settings->setDefault("fps_max", "0"); settings->setDefault("fps_max", "0");
#endif #endif