From 7e7a53c415b82cceee6173922987b772b1d51c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 20 Dec 2020 16:58:37 +0100 Subject: Mark event arrays const --- InfoScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'InfoScreen.c') diff --git a/InfoScreen.c b/InfoScreen.c index ceb29f74..515d64f0 100644 --- a/InfoScreen.c +++ b/InfoScreen.c @@ -19,7 +19,7 @@ static const char* const InfoScreenFunctions[] = {"Search ", "Filter ", "Refresh static const char* const InfoScreenKeys[] = {"F3", "F4", "F5", "Esc"}; -static int InfoScreenEvents[] = {KEY_F(3), KEY_F(4), KEY_F(5), 27}; +static const int InfoScreenEvents[] = {KEY_F(3), KEY_F(4), KEY_F(5), 27}; InfoScreen* InfoScreen_init(InfoScreen* this, const Process* process, FunctionBar* bar, int height, const char* panelHeader) { this->process = process; -- cgit v1.2.3