summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-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;