From 1e9b7c519953c73c6e5ca4ce2169eb674267c115 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Apr 2013 16:40:24 +0300 Subject: fix style in other files. --- src/text.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/text.cpp') diff --git a/src/text.cpp b/src/text.cpp index 07041afd9..687700193 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -45,9 +45,11 @@ Text::Text(const std::string &text, const int x, const int y, const gcn::Color* color, const bool isSpeech, gcn::Font *const font) : mFont(font ? font : gui->getFont()), + mX(x), mY(y), mWidth(mFont->getWidth(text)), mHeight(mFont->getHeight()), + mXOffset(0), mText(text), mColor(color), mOutlineColor(Theme::getThemeColor(Theme::OUTLINE)), -- cgit v1.2.3-70-g09d2