From 0201a19d2d80b2dbbeb3f4d6a9904fc552644616 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 20 Dec 2009 18:04:07 +0000 Subject: [PATCH] Make read-only struct const git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24085 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 4 ++-- 1 file 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 },