From 1977d9222423c08a3a451497b1d034ade224d7b8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2020 14:01:54 +0300 Subject: Split multi line #if into separate ifs --- src/gui/widgets/tabs/setup_video.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/tabs/setup_video.cpp') diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp index f938f31f5..ff1c781a3 100644 --- a/src/gui/widgets/tabs/setup_video.cpp +++ b/src/gui/widgets/tabs/setup_video.cpp @@ -84,13 +84,13 @@ Setup_Video::Setup_Video(const Widget2 *const widget) : mAltFpsSlider(new Slider(this, 2.0, 160.0, 1.0)), // TRANSLATORS: video settings label mAltFpsLabel(new Label(this, _("Alt FPS limit: "))), -#if !defined(ANDROID) && !defined(__APPLE__) && \ - !defined(__native_client__) && !defined(__SWITCH__) +#if !defined(ANDROID) && !defined(__APPLE__) +#if !defined(__native_client__) && !defined(__SWITCH__) // TRANSLATORS: video settings button mDetectButton(new Button(this, _("Detect best mode"), "detect", BUTTON_SKIN, this)), +#endif // !defined(__native_client__) && !defined(__SWITCH__) #endif // !defined(ANDROID) && !defined(__APPLE__) && - // !defined(__native_client__) mDialog(nullptr), mCustomCursorEnabled(config.getBoolValue("customcursor")), mEnableResize(config.getBoolValue("enableresize")), -- cgit v1.2.3-70-g09d2