Commit 4b33c51d authored by sigmunau's avatar sigmunau
Browse files

modules/gui/wxwindows/interface.cpp: oooops

parent cae376f2
......@@ -2,7 +2,7 @@
* interface.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* $Id: interface.cpp,v 1.66 2003/10/19 22:41:18 sigmunau Exp $
* $Id: interface.cpp,v 1.67 2003/10/19 22:52:11 sigmunau Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -36,7 +36,6 @@
#include "stream_control.h"
#include "wxwindows.h"
#include <wx/url.h>
/* include the toolbar graphics */
#include "bitmaps/file.xpm"
......@@ -1245,7 +1244,7 @@ bool DragAndDrop::OnDropFiles( wxCoord, wxCoord,
}
for( size_t i = 0; i < filenames.GetCount(); i++ )
playlist_Add( p_playlist, (const char *)wxURL("file:///" + filenames[i]).GetPath().mb_str(), 0, 0,
playlist_Add( p_playlist, (const char *)filenames[i].mb_str(), 0, 0,
PLAYLIST_APPEND | (i ? 0 : PLAYLIST_GO), PLAYLIST_END );
vlc_object_release( p_playlist );
......
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