From 593cccb16074fe9269dd2f278bd79859769eb1fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Sep 2012 00:17:45 +0300 Subject: Improve constructors in some classes. --- src/text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text.h') diff --git a/src/text.h b/src/text.h index e4ad4ab06..b1f1a3d9b 100644 --- a/src/text.h +++ b/src/text.h @@ -69,6 +69,7 @@ class Text const int xOff, const int yOff); private: + gcn::Font *mFont; /**< The font of the text */ int mX; /**< Actual x-value of left of text written. */ int mY; /**< Actual y-value of top of text written. */ int mWidth; /**< The width of the text. */ @@ -77,7 +78,6 @@ class Text static int mInstances; /**< Instances of text. */ std::string mText; /**< The text to display. */ const gcn::Color *mColor; /**< The color of the text. */ - gcn::Font *mFont; /**< The font of the text */ bool mIsSpeech; /**< Is this text a speech bubble? */ protected: -- cgit v1.2.3-60-g2f50