Skip to content

Commit

Permalink
Fix "Swap bar" alignment in help screen
Browse files Browse the repository at this point in the history
Regression from b29b33e
The misaligned text is only seen on non-Linux systems.
  • Loading branch information
Explorer09 committed Jan 10, 2025
1 parent 4e6a781 commit c46d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Action.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c46d0f2

Please sign in to comment.