1
0
Fork 0
mirror of https://github.com/otakuto/crazydiskinfo.git synced 2025-07-22 14:16:11 +00:00

Changed Raw Values to decimal

This commit is contained in:
Konata Izumi 2017-05-08 20:34:13 -04:00
parent 3e09b4314a
commit aad57dbb25

View file

@ -360,7 +360,7 @@ void drawStatus(WINDOW * window, SMART const & smart)
for (int i = 0; i < static_cast<int>(smart.attribute.size()); ++i)
{
wattrset(window, COLOR_PAIR(4 + static_cast<int>(attributeToHealth(smart.attribute[i]))));
mvwprintw(window, 9 + i, 1, " %-7s %02X %-28s %7d %5d %9d %012X ",
mvwprintw(window, 9 + i, 1, " %-7s %02X %-28s %7d %5d %9d %012d ",
healthToString(attributeToHealth(smart.attribute[i])).c_str(),
smart.attribute[i].id,
smart.attribute[i].name.c_str(),