changeset 25713:0fe20154a883

gui_opts should be const for win32 gui as well (why, oh why, was all this code duplicated??).
author reimar
date Sun, 13 Jan 2008 16:26:28 +0000
parents 363e217ce9fd
children a8b68561b79f
files gui/win32/wincfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/wincfg.c	Sun Jan 13 16:25:33 2008 +0000
+++ b/gui/win32/wincfg.c	Sun Jan 13 16:26:28 2008 +0000
@@ -58,7 +58,7 @@
 extern int m_config_parse_config_file(m_config_t *config, char *conffile);
 
 static m_config_t *gui_conf;
-static m_option_t gui_opts[] =
+static const m_option_t gui_opts[] =
 {
     {   "priority", &proc_priority, CONF_TYPE_STRING, 0, 0, 0, NULL},
     {   "vo_driver", &video_driver_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL },