mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
CScanTs::paintLine: fix size calculation for font box
This commit is contained in:
@@ -531,7 +531,7 @@ void CScanTs::paintLine(int px, int py, int w, const char * const txt)
|
||||
{
|
||||
//printf("CScanTs::paintLine x %d y %d w %d width %d xpos2 %d: %s\n", px, py, w, width, xpos2, txt);
|
||||
frameBuffer->paintBoxRel(px, py, w, mheight, COL_MENUCONTENT_PLUS_0);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(px+2, py + mheight, w, txt, COL_MENUCONTENT_TEXT);
|
||||
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(px + 2, py + mheight, w - 2, txt, COL_MENUCONTENT_TEXT);
|
||||
}
|
||||
|
||||
void CScanTs::paint(bool fortest)
|
||||
|
Reference in New Issue
Block a user