Commit 9f6937b1 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/configuration.c: fixed stupid bug in the 0.7.0 release which prevented from saving bool/int/float config options.
  -> I should really go and by myself a brain.
parent bbcf0beb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* configuration.c management of the modules configuration * configuration.c management of the modules configuration
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2004 VideoLAN * Copyright (C) 2001-2004 VideoLAN
* $Id: configuration.c,v 1.73 2004/01/09 19:45:46 jlj Exp $ * $Id: configuration.c,v 1.74 2004/01/12 23:41:59 gbazin Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -502,6 +502,9 @@ void config_Duplicate( module_t *p_module, module_config_t *p_orig ) ...@@ -502,6 +502,9 @@ void config_Duplicate( module_t *p_module, module_config_t *p_orig )
{ {
p_module->p_config[i] = p_orig[i]; p_module->p_config[i] = p_orig[i];
p_module->p_config[i].i_value_orig = p_orig[i].i_value;
p_module->p_config[i].f_value_orig = p_orig[i].f_value;
p_module->p_config[i].psz_type = p_orig[i].psz_type ? p_module->p_config[i].psz_type = p_orig[i].psz_type ?
strdup( p_orig[i].psz_type ) : NULL; strdup( p_orig[i].psz_type ) : NULL;
p_module->p_config[i].psz_name = p_orig[i].psz_name ? p_module->p_config[i].psz_name = p_orig[i].psz_name ?
......
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