]> git.sesse.net Git - vlc/commitdiff
Seems that the widget return the path in local encoding
authorChristophe Mutricy <xtophe@videolan.org>
Fri, 3 Feb 2006 00:13:11 +0000 (00:13 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Fri, 3 Feb 2006 00:13:11 +0000 (00:13 +0000)
modules/gui/wxwidgets/dialogs/updatevlc.cpp

index 3695d64b16f7ebe9dcc98a677fb9980544fc4a48..c2f82f20a1209eadf36bc873bed62cf6b4bb5fb0 100644 (file)
@@ -181,10 +181,7 @@ void UpdateVLC::OnChooseItem( wxListEvent& event )
                         wxSAVE | wxOVERWRITE_PROMPT );
         if( filedialog->ShowModal() == wxID_OK )
         {
-            char *psz_dest = ToLocale( filedialog->GetPath().mb_str() );
-
-            update_download( p_uit, psz_dest );
-            LocaleFree( psz_dest );
+            update_download( p_uit, filedialog->GetPath().mb_str() );
         }
         update_iterator_Delete( p_uit );
         delete filedialog;