From d5d8b2f29c8bd776d4c9fb1fad2af8232f59a1ab Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Tue, 10 Feb 2009 17:26:15 +0100 Subject: fixed capitalization of color member functions. --- src/gui/shoplistbox.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/shoplistbox.cpp') diff --git a/src/gui/shoplistbox.cpp b/src/gui/shoplistbox.cpp index 66c12fc6..f44bf87b 100644 --- a/src/gui/shoplistbox.cpp +++ b/src/gui/shoplistbox.cpp @@ -64,9 +64,9 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics) mAlpha = config.getValue("guialpha", 0.8); bool valid; - const int red = (textcolor->getcolor('H', valid) >> 16) & 0xFF; - const int green = (textcolor->getcolor('H', valid) >> 8) & 0xFF; - const int blue = textcolor->getcolor('H', valid) & 0xFF; + const int red = (textcolor->getColor('H', valid) >> 16) & 0xFF; + const int green = (textcolor->getColor('H', valid) >> 8) & 0xFF; + const int blue = textcolor->getColor('H', valid) & 0xFF; const int alpha = mAlpha * 255; Graphics *graphics = static_cast(gcnGraphics); -- cgit v1.2.3-70-g09d2