]> git.sesse.net Git - vlc/blobdiff - modules/gui/wince/open.cpp
macosx: o_sendport not used, remove.
[vlc] / modules / gui / wince / open.cpp
index b3f65e5d1f6d04b1acdab7559be8430cade138e4..aa491429509856c883b4a226f470338d2c50aa11 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <vlc/vlc.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <vlc_common.h>
 #include <vlc_interface.h>
 
 #include "wince.h"
@@ -306,7 +310,7 @@ void OpenDialog::FilePanel( HWND hwnd )
         sz_subsfile += psz_subsfile;
         subsfile_mrl.push_back( sz_subsfile );
     }
-    if( psz_subsfile ) free( psz_subsfile );
+    free( psz_subsfile );
 }
 
 void OpenDialog::NetPanel( HWND hwnd )
@@ -612,7 +616,7 @@ void OpenDialog::OnOk()
 
     for( int i = 0; i < i_args; i++ )
     {
-        vlc_bool_t b_start = !i && i_open_arg;
+        bool b_start = !i && i_open_arg;
         playlist_item_t *p_item =
             playlist_ItemNew( p_intf, pp_args[i], pp_args[i] );