From 1ade4e20baab0600ec584bea0cc89a46e0f1ee02 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 13 Jan 2008 16:26:28 +0000 Subject: [PATCH] gui_opts should be const for win32 gui as well (why, oh why, was all this code duplicated??). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25741 b3059339-0415-0410-9bf9-f77b7e298cf2 --- gui/win32/wincfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/win32/wincfg.c b/gui/win32/wincfg.c index 894a06e71d..ec4ad08657 100644 --- a/gui/win32/wincfg.c +++ b/gui/win32/wincfg.c @@ -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 },