From c4402537c58d5200578fb45fd0978a470d1745b4 Mon Sep 17 00:00:00 2001 From: Pierre Ynard Date: Tue, 16 Jun 2009 13:05:33 +0200 Subject: [PATCH] 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. --- src/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input.c b/src/input/input.c index b9882edb90..51c22b1eed 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -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 -- 2.39.2