From 3f4886bb8606063492caeb89ecaedab216e72d71 Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 27 Mar 2019 19:29:29 +0700 Subject: [PATCH] Fix CPU info colors. --- src/Summary.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Summary.cpp b/src/Summary.cpp index 83a3eac6c..6c7b7bfa6 100644 --- a/src/Summary.cpp +++ b/src/Summary.cpp @@ -72,9 +72,9 @@ static void print_cpu(xmrig::Config *) "CPU", Cpu::info()->brand(), Cpu::info()->sockets(), - Cpu::info()->isX64() ? GREEN_BOLD_S : RED_BOLD("-"), - Cpu::info()->hasAES() ? GREEN_BOLD_S : RED_BOLD("-"), - Cpu::info()->hasAVX2() ? GREEN_BOLD_S : RED_BOLD("-") + Cpu::info()->isX64() ? GREEN_BOLD_S : RED_BOLD_S "-", + Cpu::info()->hasAES() ? GREEN_BOLD_S : RED_BOLD_S "-", + Cpu::info()->hasAVX2() ? GREEN_BOLD_S : RED_BOLD_S "-" ); # ifndef XMRIG_NO_LIBCPUID Log::print(GREEN_BOLD(" * ") WHITE_BOLD("%-13s%.1f MB/%.1f MB"), "CPU L2/L3", Cpu::info()->L2() / 1024.0, Cpu::info()->L3() / 1024.0);