Commit d6c4c271 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix opening of subtitles on Windows

Close #4296
parent 6a022639
......@@ -681,7 +681,7 @@ void DialogsProvider::loadSubtitlesFile()
input_item_t *p_item = input_GetItem( p_input );
if( !p_item ) return;
char *path = input_item_GetURI( p_item );
char *path = make_path( input_item_GetURI( p_item ) );
if( !path ) path = strdup( "" );
char *sep = strrchr( path, DIR_SEP_CHAR );
......
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