From 516d635b6cbce6e38cc3e4f227f6ab0b073925b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Jan 2016 20:21:16 +0300 Subject: Fix code style. --- src/gui/widgets/tabs/debugwindowtabs.cpp | 6 +++--- src/gui/widgets/tabs/setup_video.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/tabs') 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; -- cgit v1.2.3-70-g09d2