From d5faf643742ae047e327d41910232791bc7bca41 Mon Sep 17 00:00:00 2001 From: Richard Date: Sat, 22 Jul 2017 21:41:19 -0500 Subject: 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. --- ColorsPanel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ColorsPanel.c') 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", -- cgit v1.2.3