From a4764902829d2a25a0e27c31824274362e11adea Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 12 Jul 2021 16:03:29 +1000 Subject: Ensure we do not attempt to add a DynamicMeter via the htoprc that we didn't find during start up. This just leaves blank sections of the display as @smalinux found. Related to https://github.com/htop-dev/htop/pull/682 --- Header.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Header.h') diff --git a/Header.h b/Header.h index 7f6943c1..22a37074 100644 --- a/Header.h +++ b/Header.h @@ -32,7 +32,7 @@ void Header_populateFromSettings(Header* this); void Header_writeBackToSettings(const Header* this); -MeterModeId Header_addMeterByName(Header* this, const char* name, int column); +bool Header_addMeterByName(Header* this, const char* name, int column); void Header_setMode(Header* this, int i, MeterModeId mode, int column); -- cgit v1.2.3