From 0d81e522c1a256570a8bc6fd481d2efab83b07df Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 28 Oct 2014 15:34:48 +0200 Subject: [PATCH] GUI: Remove trailing whitespace --- gui/about.cpp | 2 +- gui/widgets/edittext.cpp | 2 +- gui/widgets/tab.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/about.cpp b/gui/about.cpp index fe726df7509..b25efc1cd05 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -241,7 +241,7 @@ void AboutDialog::drawDialog() { while (*str && *str == ' ') str++; - if (*str) + if (*str) g_gui.theme()->drawText(Common::Rect(_x + _xOff, y, _x + _w - _xOff, y + g_gui.theme()->getFontHeight()), str, state, align, ThemeEngine::kTextInversionNone, 0, false, ThemeEngine::kFontStyleBold, ThemeEngine::kFontColorNormal, true, _textDrawableArea); y += _lineHeight; } diff --git a/gui/widgets/edittext.cpp b/gui/widgets/edittext.cpp index 3e72350c999..550b1bd153f 100644 --- a/gui/widgets/edittext.cpp +++ b/gui/widgets/edittext.cpp @@ -94,7 +94,7 @@ void EditTextWidget::drawWidget() { // Draw the text adjustOffset(); - + const Common::Rect &r = Common::Rect(_x + 2 + _leftPadding, _y + 2, _x + _leftPadding + getEditRect().width() + 8, _y + _h); setTextDrawableArea(r); diff --git a/gui/widgets/tab.h b/gui/widgets/tab.h index a01ee2d9dca..148f164fbba 100644 --- a/gui/widgets/tab.h +++ b/gui/widgets/tab.h @@ -28,7 +28,7 @@ #include "common/array.h" namespace GUI { - + enum { kTabForwards = 1, kTabBackwards = -1