[vlc-devel] commit: Win32: fix DIR_SEP failed assertion introduced in 96998812a21d05d8711db846e37df91cebc8eac0 (Geoffroy Couprie )

git version control git at videolan.org
Sun Sep 6 19:37:00 CEST 2009


vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Sun Sep  6 19:34:33 2009 +0200| [935cc5d2d393d3295f7bc9ca709d40e08c6d01fe] | committer: Geoffroy Couprie 

Win32: fix DIR_SEP failed assertion introduced in 96998812a21d05d8711db846e37df91cebc8eac0

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=935cc5d2d393d3295f7bc9ca709d40e08c6d01fe
---

 modules/gui/qt4/dialogs_provider.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/dialogs_provider.cpp b/modules/gui/qt4/dialogs_provider.cpp
index 40b8513..d45ef23 100644
--- a/modules/gui/qt4/dialogs_provider.cpp
+++ b/modules/gui/qt4/dialogs_provider.cpp
@@ -418,7 +418,7 @@ void DialogsProvider::addFromSimple( bool pl, bool go)
     files.sort();
     foreach( const QString &file, files )
     {
-        char* psz_uri = make_URI( qtu( file ) );
+        char* psz_uri = make_URI( qtu( toNativeSeparators(file) ) );
         playlist_Add( THEPL, psz_uri, NULL,
                       go ? ( PLAYLIST_APPEND | ( i ? PLAYLIST_PREPARSE : PLAYLIST_GO ) )
                          : ( PLAYLIST_APPEND | PLAYLIST_PREPARSE ),




More information about the vlc-devel mailing list