summaryrefslogtreecommitdiffstats
path: root/MainPanel.c
diff options
context:
space:
mode:
authorRichard <rsaxvc@rsaxvc.net>2017-07-22 21:41:19 -0500
committerRichard <rsaxvc@rsaxvc.net>2017-07-22 22:34:30 -0500
commitd5faf643742ae047e327d41910232791bc7bca41 (patch)
tree0b678ca7858690e3898bf3b3268d175719e3aa3b /MainPanel.c
parent18b3e5d255b580ea31e62889c4c1903d466ab0e6 (diff)
Mark some things as const
Several string pointer arrays pointed to const strings but were not const themselves. A few various structures and arrays were also marked const.
Diffstat (limited to 'MainPanel.c')
-rw-r--r--MainPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MainPanel.c b/MainPanel.c
index a62555ee..b5a7e305 100644
--- a/MainPanel.c
+++ b/MainPanel.c
@@ -31,7 +31,7 @@ typedef bool(*MainPanel_ForeachProcessFn)(Process*, size_t);
}*/
-static const char* MainFunctions[] = {"Help ", "Setup ", "Search", "Filter", "Tree ", "SortBy", "Nice -", "Nice +", "Kill ", "Quit ", NULL};
+static const char* const MainFunctions[] = {"Help ", "Setup ", "Search", "Filter", "Tree ", "SortBy", "Nice -", "Nice +", "Kill ", "Quit ", NULL};
void MainPanel_updateTreeFunctions(MainPanel* this, bool mode) {
FunctionBar* bar = MainPanel_getFunctionBar(this);

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