summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 12:35:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commitda34f018eb4e67452e314487cb547a8393afeff2 (patch)
tree15b5d5bfda948f0222657da2acb3cf514e0208e6
parent15c19f19e86f94bc28cd0f2b80f0c5be394479fa (diff)
downloadplus-da34f018eb4e67452e314487cb547a8393afeff2.tar.gz
plus-da34f018eb4e67452e314487cb547a8393afeff2.tar.bz2
plus-da34f018eb4e67452e314487cb547a8393afeff2.tar.xz
plus-da34f018eb4e67452e314487cb547a8393afeff2.zip
fix const in definition in text.
-rw-r--r--src/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 205e945ac..887c66407 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -41,7 +41,7 @@ ImageRect Text::mBubble;
Text::Text(const std::string &text, const int x, const int y,
const gcn::Graphics::Alignment alignment,
- const gcn::Color* color, const bool isSpeech,
+ const gcn::Color *const color, const bool isSpeech,
gcn::Font *const font) :
mFont(font ? font : (gui ? gui->getFont() : nullptr)),
mX(x),