Improved detailed hashrate report.

This commit is contained in:
XMRig 2019-08-25 04:14:34 +07:00
parent d27990b273
commit 4f1d4695cd
3 changed files with 25 additions and 8 deletions

View file

@ -158,10 +158,10 @@ xmrig::String xmrig::OclDevice::printableName() const
char *buf = new char[size]();
if (m_board.isNull()) {
snprintf(buf, size, GREEN_BOLD(" %s"), m_name.data());
snprintf(buf, size, GREEN_BOLD("%s"), m_name.data());
}
else {
snprintf(buf, size, GREEN_BOLD(" %s") " (" CYAN_BOLD("%s") ")", m_board.data(), m_name.data());
snprintf(buf, size, GREEN_BOLD("%s") " (" CYAN_BOLD("%s") ")", m_board.data(), m_name.data());
}
return buf;