From 63ac001daa7dfc0735dfefd9c2829c8786b4edaf Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 11 Feb 2009 00:09:51 +0100 Subject: More capitalization fixes for 'color' Hopefully these are the last ones. :) --- src/text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/text.cpp') 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); } -- cgit v1.2.3-70-g09d2