mirror of
https://github.com/otakuto/crazydiskinfo.git
synced 2025-07-22 22:25:27 +00:00
Made using Decimal for Raw Value a CMake option
RAW_VALUES_DEC can be turned ON or OFF
This commit is contained in:
parent
9fbf4cd441
commit
212bc613d8
2 changed files with 8 additions and 0 deletions
4
main.cpp
4
main.cpp
|
@ -360,7 +360,11 @@ 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]))));
|
||||
#ifndef RAWDEC
|
||||
mvwprintw(window, 9 + i, 1, " %-7s %02X %-28s %7d %5d %9d %012X ",
|
||||
#else
|
||||
mvwprintw(window, 9 + i, 1, " %-7s %02X %-28s %7d %5d %9d %012d ",
|
||||
#endif//RAWDEC
|
||||
healthToString(attributeToHealth(smart.attribute[i])).c_str(),
|
||||
smart.attribute[i].id,
|
||||
smart.attribute[i].name.c_str(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue