From 4812ac8280e42701ac2c5a502a07a555fb18dd8f Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Wed, 11 Dec 2024 23:50:42 +0100 Subject: [PATCH] Fix typo: Mhz -> MHz --- src/btop_draw.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp index ad3b3ee..5ce9f78 100644 --- a/src/btop_draw.cpp +++ b/src/btop_draw.cpp @@ -1022,7 +1022,7 @@ namespace Gpu { if (gpu.supported_functions.gpu_clock) { string clock_speed_string = to_string(gpu.gpu_clock_speed); out += Mv::to(b_y, b_x + b_width - 12) + Theme::c("div_line") + Symbols::h_line*(5-clock_speed_string.size()) - + Symbols::title_left + Fx::b + Theme::c("title") + clock_speed_string + " Mhz" + Fx::ub + Theme::c("div_line") + Symbols::title_right; + + Symbols::title_left + Fx::b + Theme::c("title") + clock_speed_string + " MHz" + Fx::ub + Theme::c("div_line") + Symbols::title_right; } //? Power usage meter, power state @@ -1061,7 +1061,7 @@ namespace Gpu { if (gpu.supported_functions.mem_clock) { string clock_speed_string = to_string(gpu.mem_clock_speed); out += Mv::to(b_y + 3, b_x + b_width/2 - 11) + Theme::c("div_line") + Symbols::h_line*(5-clock_speed_string.size()) - + Symbols::title_left + Fx::b + Theme::c("title") + clock_speed_string + " Mhz" + Fx::ub + Theme::c("div_line") + Symbols::title_right; + + Symbols::title_left + Fx::b + Theme::c("title") + clock_speed_string + " MHz" + Fx::ub + Theme::c("div_line") + Symbols::title_right; } } else { out += Theme::c("main_fg") + Mv::r(1); @@ -1070,7 +1070,7 @@ namespace Gpu { else out += "VRAM usage:" + rjust(floating_humanizer(gpu.mem_used), b_width/(1 + gpu.supported_functions.mem_clock)-14); if (gpu.supported_functions.mem_clock) - out += " VRAM clock:" + rjust(to_string(gpu.mem_clock_speed) + " Mhz", b_width/2-13); + out += " VRAM clock:" + rjust(to_string(gpu.mem_clock_speed) + " MHz", b_width/2-13); } }