From 267014cbfe584ff9a1bc74d671f8aaa27251fd49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 21 Nov 2020 21:40:08 +0100 Subject: Add support to change numeric options in settings screen Like delay or highlightDelaySecs --- htop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htop.c') diff --git a/htop.c b/htop.c index 0a2401ca..15b58304 100644 --- a/htop.c +++ b/htop.c @@ -304,7 +304,7 @@ int main(int argc, char** argv) { settings->direction = 1; } - CRT_init(settings->delay, settings->colorScheme, flags.allowUnicode); + CRT_init(&(settings->delay), settings->colorScheme, flags.allowUnicode); MainPanel* panel = MainPanel_new(); ProcessList_setPanel(pl, (Panel*) panel); -- cgit v1.2.3