]> git.sesse.net Git - vlc/commitdiff
* modules/gui/wxwindows/open.cpp: compilation fix.
authorGildas Bazin <gbazin@videolan.org>
Thu, 24 Jul 2003 17:31:59 +0000 (17:31 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 24 Jul 2003 17:31:59 +0000 (17:31 +0000)
modules/gui/wxwindows/open.cpp

index 6c747a2055d87f5f87e41d64543bc6ee4978ecad..80b35283cacb4f5c875f6f08c6df8fcc368f5473 100644 (file)
@@ -2,7 +2,7 @@
  * open.cpp : wxWindows plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: open.cpp,v 1.30 2003/07/24 16:07:10 gbazin Exp $
+ * $Id: open.cpp,v 1.31 2003/07/24 17:31:59 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
 
 #include <vlc/intf.h>
 
-#if defined MODULE_NAME_IS_skins
-#   include "../skins/src/skin_common.h"
-#endif
-
 #include "wxwindows.h"
 
 #ifndef wxRB_SINGLE
@@ -663,7 +659,7 @@ void OpenDialog::OnOk( wxCommandEvent& WXUNUSED(event) )
 
         /* Count the input options */
         while( i + i_options + 1 < (int)mrl.GetCount() &&
-               mrl[i + i_options + 1].mb_str()[0] == ':' )
+               ((const char *)mrl[i + i_options + 1].mb_str())[0] == ':' )
         {
             i_options++;
         }