From f774eb833fbcf169a9136ea8e69ada4cbad2aaa9 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 25 Apr 2013 23:05:28 +0200 Subject: [PATCH] CComponentsInfoBox: replace static parameter with inherited member member value was not looped through --- src/gui/components/cc_item_infobox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/components/cc_item_infobox.cpp b/src/gui/components/cc_item_infobox.cpp index 442459a58..4859eb8c1 100644 --- a/src/gui/components/cc_item_infobox.cpp +++ b/src/gui/components/cc_item_infobox.cpp @@ -134,7 +134,8 @@ void CComponentsInfoBox::paint(bool do_save_bg) cctext = new CComponentsText(); cctext->setText(ct_text, ct_text_mode, ct_font); - cctext->doPaintTextBoxBg(false); + cctext->doPaintTextBoxBg(ct_paint_textbg); + cctext->doPaintBg(false); cctext->setDimensionsAll(x_text, y+fr_thickness, width-(x_text-x+x_offset+fr_thickness), height-2*fr_thickness); cctext->paint(CC_SAVE_SCREEN_NO); }