From c46d0f292b34987a941a1c29bcd8b03fd6b53ded Mon Sep 17 00:00:00 2001 From: Explorer09 Date: Sat, 11 Jan 2025 05:03:45 +0800 Subject: [PATCH] Fix "Swap bar" alignment in help screen Regression from b29b33ebb9ae80a95e7d09eb537e0fccc5043d68 The misaligned text is only seen on non-Linux systems. --- Action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Action.c b/Action.c index 56fb3d0cb..a93c64819 100644 --- a/Action.c +++ b/Action.c @@ -758,7 +758,7 @@ static Htop_Reaction actionHelp(State* st) { addbartext(CRT_colors[SWAP_CACHE], "/", "cache"); addbartext(CRT_colors[SWAP_FRONTSWAP], "/", "frontswap"); #else - addbartext(CRT_colors[SWAP_CACHE], " ", ""); + addbartext(CRT_colors[BAR_SHADOW], " ", ""); #endif addbartext(CRT_colors[BAR_SHADOW], " ", "used"); addbartext(CRT_colors[BAR_SHADOW], "/", "total");