diff options
author | Richard <rsaxvc@rsaxvc.net> | 2017-07-22 21:41:19 -0500 |
---|---|---|
committer | Richard <rsaxvc@rsaxvc.net> | 2017-07-22 22:34:30 -0500 |
commit | d5faf643742ae047e327d41910232791bc7bca41 (patch) | |
tree | 0b678ca7858690e3898bf3b3268d175719e3aa3b /ColorsPanel.c | |
parent | 18b3e5d255b580ea31e62889c4c1903d466ab0e6 (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 'ColorsPanel.c')
-rw-r--r-- | ColorsPanel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ColorsPanel.c b/ColorsPanel.c index 96199c1b..627a516a 100644 --- a/ColorsPanel.c +++ b/ColorsPanel.c @@ -34,9 +34,9 @@ typedef struct ColorsPanel_ { }*/ -static const char* ColorsFunctions[] = {" ", " ", " ", " ", " ", " ", " ", " ", " ", "Done ", NULL}; +static const char* const ColorsFunctions[] = {" ", " ", " ", " ", " ", " ", " ", " ", " ", "Done ", NULL}; -static const char* ColorSchemeNames[] = { +static const char* const ColorSchemeNames[] = { "Default", "Monochromatic", "Black on White", |