Commit 8ea4384d authored by Christophe Mutricy's avatar Christophe Mutricy

Kludge to not save started-from-file

parent 7a333246
......@@ -1161,6 +1161,15 @@ static int SaveConfigFile( vlc_object_t *p_this, const char *psz_module_name,
vlc_mutex_unlock( &p_this->p_vlc->config_lock );
return -1;
}
#ifdef WIN32
/* Ugly kludge to not save --started-from-file (and not break the ABI).
* See [17898] and #871 */
/* Just use the first mofule found*/
config_PutInt( (module_t *)p_list->p_values[0].p_object,
"started-from-file", 0 );
#endif
fprintf( file, "\xEF\xBB\xBF###\n### " COPYRIGHT_MESSAGE "\n###\n\n"
"###\n### lines begining with a '#' character are comments\n###\n\n" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment