diff options
author | aristocratos <gnmjpl@gmail.com> | 2023-08-27 00:58:30 +0200 |
---|---|---|
committer | aristocratos <gnmjpl@gmail.com> | 2023-08-27 00:58:30 +0200 |
commit | 7290109f80175c8f140fa6abd67ad0183e1f21ec (patch) | |
tree | 871b1604ec42f2e57c480adf7259dae03d684d5c /src | |
parent | 283d4632427b0a5e3c8f8518e3db3fdd8b257f9c (diff) |
Merge fix
Diffstat (limited to 'src')
-rw-r--r-- | src/btop_draw.cpp | 3 |
1 files changed, 0 insertions, 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))); |