From 91317322fee239082f04f410a5f6506a61a7ac9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 4 Nov 2020 17:46:11 +0100 Subject: Mark ProcessList_keyAt argument const --- MainPanel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MainPanel.c') diff --git a/MainPanel.c b/MainPanel.c index be59abd3..5a1fe8f5 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -59,7 +59,7 @@ static HandlerResult MainPanel_eventHandler(Panel* super, int ch) { if (EVENT_IS_HEADER_CLICK(ch)) { int x = EVENT_HEADER_CLICK_GET_X(ch); - ProcessList* pl = this->state->pl; + const ProcessList* pl = this->state->pl; Settings* settings = this->state->settings; int hx = super->scrollH + x + 1; ProcessField field = ProcessList_keyAt(pl, hx); -- cgit v1.2.3