Commit 8b0186b3 authored by Christophe Massiot's avatar Christophe Massiot
Browse files

* modules/gui/wxwidgets/interface.cpp: Missing FromLocale() for the drag'n

   drop code.
parent 1867b6f1
......@@ -1370,10 +1370,13 @@ bool DragAndDrop::OnDropFiles( wxCoord, wxCoord,
}
for( size_t i = 0; i < filenames.GetCount(); i++ )
playlist_Add( p_playlist, (const char *)filenames[i].mb_str(),
(const char *)filenames[i].mb_str(),
{
char *psz_utf8 = FromLocale( filenames[i].mb_str() );
playlist_Add( p_playlist, psz_utf8, psz_utf8,
PLAYLIST_APPEND | ((i | b_enqueue) ? 0 : PLAYLIST_GO),
PLAYLIST_END );
LocaleFree( psz_utf8 );
}
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