/*****************************************************************************
* preferences_widgets.cpp : WinCE gui plugin for VLC
*****************************************************************************
- * Copyright (C) 2000-2004 VideoLAN
+ * Copyright (C) 2000-2004 the VideoLAN team
* $Id$
*
* Authors: Marodon Cedric <cedric_marodon@yahoo.fr>
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
{
ConfigControl *p_control = NULL;
+ if( p_item->psz_current )
+ {
+ return NULL;
+ }
switch( p_item->i_type )
{
case CONFIG_ITEM_MODULE:
ConfigControl::ConfigControl( vlc_object_t *_p_this,
module_config_t *p_item,
HWND parent, HINSTANCE hInst )
- : parent( parent ), p_this( _p_this ),
- pf_update_callback( NULL ), p_update_data( NULL ),
- name( p_item->psz_name ), i_type( p_item->i_type ),
+ : p_this( _p_this ), pf_update_callback( NULL ), p_update_data( NULL ),
+ parent( parent ), name( p_item->psz_name ), i_type( p_item->i_type ),
b_advanced( p_item->b_advanced )
{