From 9b4febf79ecd220807d4a462d5945aa0aa561269 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Tue, 10 Feb 2009 17:39:17 +0100 Subject: Fixed some accidental capitalization errors --- src/gui/table.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/table.cpp') diff --git a/src/gui/table.cpp b/src/gui/table.cpp index a5b4ace0..1ee9da0f 100644 --- a/src/gui/table.cpp +++ b/src/gui/table.cpp @@ -325,10 +325,10 @@ void GuiTable::draw(gcn::Graphics* graphics) { bool valid; const int red = - (textcolor->getColor('H', valid) >> 16) & 0xFF; + (textColor->getColor('H', valid) >> 16) & 0xFF; const int green = - (textcolor->getColor('H', valid) >> 8) & 0xFF; - const int blue = textcolor->getColor('H', valid) & 0xFF; + (textColor->getColor('H', valid) >> 8) & 0xFF; + const int blue = textColor->getColor('H', valid) & 0xFF; const int alpha = mAlpha * 127; graphics->setColor(gcn::Color(red, green, blue, alpha)); @@ -347,10 +347,10 @@ void GuiTable::draw(gcn::Graphics* graphics) { bool valid; const int red = - (textcolor->getColor('H', valid) >> 16) & 0xFF; + (textColor->getColor('H', valid) >> 16) & 0xFF; const int green = - (textcolor->getColor('H', valid) >> 8) & 0xFF; - const int blue = textcolor->getColor('H', valid) & 0xFF; + (textColor->getColor('H', valid) >> 8) & 0xFF; + const int blue = textColor->getColor('H', valid) & 0xFF; const int alpha = mAlpha * 127; graphics->setColor(gcn::Color(red, green, blue, alpha)); -- cgit v1.2.3-70-g09d2