Commit 63800953 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix url converter on win32

(patch contributed by Marco Munderloh)
parent 68217187
...@@ -60,9 +60,7 @@ char *E_(FileToUrl)( char *name, vlc_bool_t *pb_index ) ...@@ -60,9 +60,7 @@ char *E_(FileToUrl)( char *name, vlc_bool_t *pb_index )
while( *name ) while( *name )
{ {
if( *name == '\\' ) if( *name == '\\' )
{ *name = '/';
*p++ = '/';
}
name++; name++;
} }
#endif #endif
......
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