Commit c4402537 authored by Pierre Ynard's avatar Pierre Ynard

WinCE: don't strip leading slash when converting from file:// URIs

file:// URI syntax on Windows features a leading slash before the drive
letter (file:///C:/Foobar/...). This is irrelevant on WinCE, that only
has a root directory.
parent d997857b
......@@ -2364,7 +2364,7 @@ static int InputSourceInit( input_thread_t *p_input,
*p = '\0';
/* Then URI-decode the path. */
decode_URI( psz_path );
#ifdef WIN32
#if defined( WIN32 ) && !defined( UNDER_CE )
/* Strip leading slash in front of the drive letter */
psz_path++;
#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