From 7290109f80175c8f140fa6abd67ad0183e1f21ec Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 27 Aug 2023 00:58:30 +0200 Subject: [PATCH] Merge fix --- src/btop_draw.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp index bf1760f..aefde7d 100644 --- a/src/btop_draw.cpp +++ b/src/btop_draw.cpp @@ -532,9 +532,6 @@ namespace Cpu { bool show_temps = (Config::getB("check_temp") and got_sensors); auto single_graph = Config::getB("cpu_single_graph"); bool hide_cores = show_temps and (cpu_temp_only or not Config::getB("show_coretemp")); - bool show_temps = (Config::getB("check_temp") and got_sensors); - auto single_graph = Config::getB("cpu_single_graph"); - bool hide_cores = show_temps and (cpu_temp_only or not Config::getB("show_coretemp")); const int extra_width = (hide_cores ? max(6, 6 * b_column_size) : 0); const auto& show_gpu_info = Config::getS("show_gpu_info"); bool show_gpu = (gpus.size() > 0 and (show_gpu_info == "On" or (show_gpu_info == "Auto" and Gpu::shown == 0)));