summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-15 20:21:16 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-15 20:21:16 +0300
commit516d635b6cbce6e38cc3e4f227f6ab0b073925b9 (patch)
tree61f4e9eab9bae255375e94c29d4663b5d8f217c5 /src/gui/widgets/tabs
parent0e7b238a3794a9d2bb8dbf66adfe65bf6f1f4046 (diff)
downloadplus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.gz
plus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.bz2
plus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.tar.xz
plus-516d635b6cbce6e38cc3e4f227f6ab0b073925b9.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/debugwindowtabs.cpp6
-rw-r--r--src/gui/widgets/tabs/setup_video.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/debugwindowtabs.cpp b/src/gui/widgets/tabs/debugwindowtabs.cpp
index c46954f20..761ee93e4 100644
--- a/src/gui/widgets/tabs/debugwindowtabs.cpp
+++ b/src/gui/widgets/tabs/debugwindowtabs.cpp
@@ -51,11 +51,11 @@
MapDebugTab::MapDebugTab(const Widget2 *const widget) :
DebugTab(widget),
// TRANSLATORS: debug window label
- mMusicFileLabel(new Label(this, strprintf(_("Music:")))),
+ mMusicFileLabel(new Label(this, _("Music:"))),
// TRANSLATORS: debug window label
- mMapLabel(new Label(this, strprintf(_("Map:")))),
+ mMapLabel(new Label(this, _("Map:"))),
// TRANSLATORS: debug window label
- mMinimapLabel(new Label(this, strprintf(_("Minimap:")))),
+ mMinimapLabel(new Label(this, _("Minimap:"))),
mTileMouseLabel(new Label(this, strprintf("%s (%d, %d)",
// TRANSLATORS: debug window label
_("Cursor:"), 0, 0))),
diff --git a/src/gui/widgets/tabs/setup_video.h b/src/gui/widgets/tabs/setup_video.h
index 9bff510bc..e1a94557e 100644
--- a/src/gui/widgets/tabs/setup_video.h
+++ b/src/gui/widgets/tabs/setup_video.h
@@ -68,7 +68,7 @@ class Setup_Video final : public SetupTab,
Label *mFpsLabel;
Slider *mAltFpsSlider;
Label *mAltFpsLabel;
-#if !defined(ANDROID) && !defined(__APPLE__) || !defined(__native_client__)
+#if !defined(ANDROID) && !defined(__APPLE__) && !defined(__native_client__)
Button *mDetectButton;
#endif
TextDialog *mDialog;