summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-12-20 18:04:07 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-12-20 18:04:07 +0000
commit0201a19d2d80b2dbbeb3f4d6a9904fc552644616 (patch)
treef01e6cd3442f6559a41b0c458452713046b72289 /apps
parent151c2b25b204c5c69a6f9b174391c174a5128925 (diff)
downloadrockbox-0201a19d2d80b2dbbeb3f4d6a9904fc552644616.tar.gz
rockbox-0201a19d2d80b2dbbeb3f4d6a9904fc552644616.zip
Make read-only struct const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24085 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index f3819142f7..501d76e5c7 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1200,8 +1200,8 @@ static int parse_albumart_display(const char *wps_bufptr,
#ifdef HAVE_TOUCHSCREEN
-struct touchaction {char* s; int action;};
-static struct touchaction touchactions[] = {
+struct touchaction {const char* s; int action;};
+static const struct touchaction touchactions[] = {
{"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP },
{"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT },
{"ffwd", ACTION_WPS_SEEKFWD }, {"rwd", ACTION_WPS_SEEKBACK },