Commit d57aae64 authored by Christophe Mutricy's avatar Christophe Mutricy

Seems that the widget return the path in local encoding

parent 8e1ac66f
...@@ -181,10 +181,7 @@ void UpdateVLC::OnChooseItem( wxListEvent& event ) ...@@ -181,10 +181,7 @@ void UpdateVLC::OnChooseItem( wxListEvent& event )
wxSAVE | wxOVERWRITE_PROMPT ); wxSAVE | wxOVERWRITE_PROMPT );
if( filedialog->ShowModal() == wxID_OK ) if( filedialog->ShowModal() == wxID_OK )
{ {
char *psz_dest = ToLocale( filedialog->GetPath().mb_str() ); update_download( p_uit, filedialog->GetPath().mb_str() );
update_download( p_uit, psz_dest );
LocaleFree( psz_dest );
} }
update_iterator_Delete( p_uit ); update_iterator_Delete( p_uit );
delete filedialog; delete filedialog;
......
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