aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorVicent Marti2008-10-18 01:44:12 +0000
committerVicent Marti2008-10-18 01:44:12 +0000
commit6e8adf4ea69914dd48322a2b3aeb7d91301dbb45 (patch)
tree8ebf33e58482a60482ffc333edd903d363d9b970 /gui
parent46b036ab6aea23319ac4a3fdfb0faa13bc3cc3dd (diff)
downloadscummvm-rg350-6e8adf4ea69914dd48322a2b3aeb7d91301dbb45.tar.gz
scummvm-rg350-6e8adf4ea69914dd48322a2b3aeb7d91301dbb45.tar.bz2
scummvm-rg350-6e8adf4ea69914dd48322a2b3aeb7d91301dbb45.zip
Fixed: Invisible debugger console text in Classic theme.
svn-id: r34816
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 9c49bfdeb8..7d59720d7d 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -895,9 +895,11 @@ void ThemeEngine::drawChar(const Common::Rect &r, byte ch, const Graphics::Font
Common::Rect charArea = r;
charArea.clip(_screen->w, _screen->h);
+
+ uint32 color = _system->RGBToColor(_texts[kTextDataDefault]->_color.r, _texts[kTextDataDefault]->_color.g, _texts[kTextDataDefault]->_color.b);
restoreBackground(charArea);
- font->drawChar(_screen, ch, charArea.left, charArea.top, 0);
+ font->drawChar(_screen, ch, charArea.left, charArea.top, color);
addDirtyRect(charArea);
}