[MPlayer-cvslog] r25741 - trunk/gui/win32/wincfg.c

reimar subversion at mplayerhq.hu
Sun Jan 13 17:26:28 CET 2008


Author: reimar
Date: Sun Jan 13 17:26:28 2008
New Revision: 25741

Log:
gui_opts should be const for win32 gui as well (why, oh why, was all
this code duplicated??).


Modified:
   trunk/gui/win32/wincfg.c

Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c	(original)
+++ trunk/gui/win32/wincfg.c	Sun Jan 13 17:26:28 2008
@@ -58,7 +58,7 @@ extern char *proc_priority;
 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 },



More information about the MPlayer-cvslog mailing list