diff gui/cfg.c @ 26422:f74bff77f088

noconfig fix, disable_gui_conf was not defined when compiling mencoder. Fix mencoder linking when the GUI is enabled. Patch by Norman Yarvin (yarvin -at- yarchive -dot- net).
author albeu
date Tue, 15 Apr 2008 13:20:15 +0000
parents 9d53b15aed02
children b0a7b35b78d2
line wrap: on
line diff
--- a/gui/cfg.c	Tue Apr 15 02:02:29 2008 +0000
+++ b/gui/cfg.c	Tue Apr 15 13:20:15 2008 +0000
@@ -83,7 +83,7 @@
 
 extern int    stop_xscreensaver;
 extern int    m_config_parse_config_file(m_config_t* config, char *conffile);
-int disable_gui_conf=0;
+extern int    disable_gui_conf;
 
 static m_config_t * gui_conf;
 static const m_option_t gui_opts[] =