[vlc-devel] RE : commit: Win32: fix DIR_SEP failed assertion introducedin 96998812a21d05d8711db846e37df91cebc8eac0 (Geoffroy Couprie )
brezhoneg1
brezhoneg1 at yahoo.fr
Sun Sep 6 22:02:05 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=935cc5d2d393d3295
f7
> bc9ca709d40e08c6d01fe
> ---
>
> 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 ),
>
Yes, toNativeSeparators was indeed needed on Win32. Thanks for your fix.
Erwan10
More information about the vlc-devel
mailing list