summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-11 00:09:51 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-11 00:10:37 +0100
commit63ac001daa7dfc0735dfefd9c2829c8786b4edaf (patch)
treea5c749f1705d42acc3e1b37341e73f2674e811e0 /src/text.cpp
parentdbc6444d3086fa1b7afca4605600a0a0ae8ca394 (diff)
downloadmana-63ac001daa7dfc0735dfefd9c2829c8786b4edaf.tar.gz
mana-63ac001daa7dfc0735dfefd9c2829c8786b4edaf.tar.bz2
mana-63ac001daa7dfc0735dfefd9c2829c8786b4edaf.tar.xz
mana-63ac001daa7dfc0735dfefd9c2829c8786b4edaf.zip
More capitalization fixes for 'color'
Hopefully these are the last ones. :)
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.cpp b/src/text.cpp
index 5d88bd69..c4559879 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -39,7 +39,7 @@ Text::Text(const std::string &text, int x, int y,
gcn::Graphics::Alignment alignment,
gcn::Color color, bool isSpeech) :
mText(text),
- mcolor(color),
+ mColor(color),
mIsSpeech(isSpeech)
{
if (textManager == 0)
@@ -161,7 +161,7 @@ void Text::draw(gcn::Graphics *graphics, int xOff, int yOff)
gcn::Graphics::LEFT);
}
- graphics->setColor(mcolor);
+ graphics->setColor(mColor);
graphics->drawText(mText, mX - xOff, mY - yOff,
gcn::Graphics::LEFT);
}