diff --git a/src/gui/dboxinfo.cpp b/src/gui/dboxinfo.cpp index 31aad56fc..becaa68aa 100644 --- a/src/gui/dboxinfo.cpp +++ b/src/gui/dboxinfo.cpp @@ -52,6 +52,7 @@ #include #include +#include #include #include @@ -353,6 +354,11 @@ void CDBoxInfoWidget::paint() title += ": "; title + cpuinfo["machine"]; } + char ss[17]; + sprintf(ss, "%016llx", cs_get_serial()); + title += ", S/N "; + title += ss; + width = max(width, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getRenderWidth(title, true)); CComponentsHeader header(x, ypos, width, hheight, title, NEUTRINO_ICON_SHELL); header.paint(CC_SAVE_SCREEN_NO);