diff options
Diffstat (limited to 'src/gui/table.cpp')
-rw-r--r-- | src/gui/table.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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)); |