summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/skin_engine/skin_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 1a6861ff16..d89ca8b534 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -601,7 +601,7 @@ static int parse_viewporttextstyle(struct skin_element *element,
601 *line = (struct line_desc)LINE_DESC_DEFINIT; 601 *line = (struct line_desc)LINE_DESC_DEFINIT;
602 unsigned colour; 602 unsigned colour;
603 603
604 static const char *vp_options[] = { "invert", "color", "colour", 604 static const char * const vp_options[] = { "invert", "color", "colour",
605 "clear", "gradient", NULL}; 605 "clear", "gradient", NULL};
606 606
607 int vp_op = string_option(mode, vp_options, false); 607 int vp_op = string_option(mode, vp_options, false);
@@ -1401,7 +1401,7 @@ static int parse_skinvar( struct skin_element *element,
1401 return 0; 1401 return 0;
1402 case SKIN_TOKEN_VAR_SET: 1402 case SKIN_TOKEN_VAR_SET:
1403 { 1403 {
1404 static const char *sv_options[] = {"touch", "set", "inc", "dec", NULL}; 1404 static const char * const sv_options[] = {"touch", "set", "inc", "dec", NULL};
1405 1405
1406 struct skin_var_changer *data = skin_buffer_alloc(sizeof(*data)); 1406 struct skin_var_changer *data = skin_buffer_alloc(sizeof(*data));
1407 if (!data) 1407 if (!data)
@@ -1705,7 +1705,7 @@ static int parse_touchregion(struct skin_element *element,
1705 if (region->action == ACTION_NONE) 1705 if (region->action == ACTION_NONE)
1706 return WPS_ERROR_INVALID_PARAM; 1706 return WPS_ERROR_INVALID_PARAM;
1707 } 1707 }
1708 static const char *pm_options[] = {"allow_while_locked", "reverse_bar", 1708 static const char * const pm_options[] = {"allow_while_locked", "reverse_bar",
1709 "repeat_press", "long_press", NULL}; 1709 "repeat_press", "long_press", NULL};
1710 int pm_op; 1710 int pm_op;
1711 1711