]> git.sesse.net Git - vlc/blobdiff - modules/gui/wince/preferences_widgets.cpp
Remove code killed by previous commit
[vlc] / modules / gui / wince / preferences_widgets.cpp
index a984bd02002b53ba919a297dfdbb34010de50e03..298954ad9f24d02911efe563f968515b56ee0316 100644 (file)
@@ -47,10 +47,6 @@ ConfigControl *CreateConfigControl( vlc_object_t *p_this,
 {
     ConfigControl *p_control = NULL;
 
-    if( p_item->psz_current )
-    {
-        return NULL;
-    }
     switch( p_item->i_type )
     {
     case CONFIG_ITEM_MODULE:
@@ -689,7 +685,7 @@ int IntegerListConfigControl::GetIntValue()
  * RangedIntConfigControl implementation
  *****************************************************************************/
 RangedIntConfigControl::RangedIntConfigControl( vlc_object_t *p_this,
-                                                module_config_t *p_item, 
+                                                module_config_t *p_item,
                                                 HWND parent, HINSTANCE hInst,
                                                 int * py_pos )
   : ConfigControl( p_this, p_item, parent, hInst )
@@ -750,7 +746,7 @@ float FloatConfigControl::GetFloatValue()
 {
     float f_value;
 
-    int i_size = Edit_GetTextLength( textctrl );  
+    int i_size = Edit_GetTextLength( textctrl );
     TCHAR *psz_string = (TCHAR *)malloc( (i_size + 1) * sizeof(TCHAR) );
     Edit_GetText( textctrl, psz_string, i_size + 1 );