Mercurial > mplayer.hg
diff libmenu/menu_filesel.c @ 30957:45b93bea8082
Mark cfg_fields m_option_t array as const.
author | diego |
---|---|
date | Sun, 04 Apr 2010 16:11:20 +0000 |
parents | 9fc9d1e788aa |
children | c536d4b0ce3d |
line wrap: on
line diff
--- a/libmenu/menu_filesel.c Sun Apr 04 16:08:15 2010 +0000 +++ b/libmenu/menu_filesel.c Sun Apr 04 16:11:20 2010 +0000 @@ -81,7 +81,7 @@ #define ST_OFF(m) M_ST_OFF(struct menu_priv_s,m) -static m_option_t cfg_fields[] = { +static const m_option_t cfg_fields[] = { MENU_LIST_PRIV_FIELDS, { "path", ST_OFF(path), CONF_TYPE_STRING, 0, 0, 0, NULL }, { "title", ST_OFF(title), CONF_TYPE_STRING, 0, 0, 0, NULL },