mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Make read-only struct const
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24085 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
151c2b25b2
commit
0201a19d2d
1 changed files with 2 additions and 2 deletions
|
|
@ -1200,8 +1200,8 @@ static int parse_albumart_display(const char *wps_bufptr,
|
||||||
|
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
|
|
||||||
struct touchaction {char* s; int action;};
|
struct touchaction {const char* s; int action;};
|
||||||
static struct touchaction touchactions[] = {
|
static const struct touchaction touchactions[] = {
|
||||||
{"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP },
|
{"play", ACTION_WPS_PLAY }, {"stop", ACTION_WPS_STOP },
|
||||||
{"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT },
|
{"prev", ACTION_WPS_SKIPPREV }, {"next", ACTION_WPS_SKIPNEXT },
|
||||||
{"ffwd", ACTION_WPS_SEEKFWD }, {"rwd", ACTION_WPS_SEEKBACK },
|
{"ffwd", ACTION_WPS_SEEKFWD }, {"rwd", ACTION_WPS_SEEKBACK },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue