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