summaryrefslogtreecommitdiffstats
path: root/Header.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-07-12 16:03:29 +1000
committerNathan Scott <nathans@redhat.com>2021-07-14 11:58:31 +1000
commita4764902829d2a25a0e27c31824274362e11adea (patch)
tree81db785a4c9298f2e459649a18e6b2d04e03ac6c /Header.h
parentbf22a8fb13c9495466051caa5a0c0e9c1f9de0df (diff)
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
Diffstat (limited to 'Header.h')
-rw-r--r--Header.h2
1 files changed, 1 insertions, 1 deletions
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy