diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-11-04 17:46:11 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-11-15 18:35:30 +0100 |
commit | 91317322fee239082f04f410a5f6506a61a7ac9c (patch) | |
tree | ba317ae5f7b956ef0accbdb6148a43c3f6acba35 /MainPanel.c | |
parent | 42073babb913497fba58700dc0c5ccdfa7a52b20 (diff) |
Mark ProcessList_keyAt argument const
Diffstat (limited to 'MainPanel.c')
-rw-r--r-- | MainPanel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |