summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-30 14:01:54 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-30 14:01:54 +0300
commit1977d9222423c08a3a451497b1d034ade224d7b8 (patch)
treed54de48f9fc4103438f2e47201e979d1f670637f /src/gui
parent740b73aa50af1fc38197fa3e5d34cf400e1d8120 (diff)
downloadplus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.gz
plus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.bz2
plus-1977d9222423c08a3a451497b1d034ade224d7b8.tar.xz
plus-1977d9222423c08a3a451497b1d034ade224d7b8.zip
Split multi line #if into separate ifs
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp6
1 files changed, 3 insertions, 3 deletions
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")),