summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r--src/gui/widgets/browserbox.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index fdb528cea..47f9821b7 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -523,11 +523,22 @@ void BrowserBox::draw(Graphics *graphics)
break;
if (!part.mType)
{
- graphics->setColorAll(part.mColor, part.mColor2);
if (part.mBold)
- boldFont->drawString(graphics, part.mText, part.mX, part.mY);
+ {
+ boldFont->drawString(graphics,
+ part.mColor,
+ part.mColor2,
+ part.mText,
+ part.mX, part.mY);
+ }
else
- font->drawString(graphics, part.mText, part.mX, part.mY);
+ {
+ font->drawString(graphics,
+ part.mColor,
+ part.mColor2,
+ part.mText,
+ part.mX, part.mY);
+ }
}
else if (part.mImage)
{