librazor/path.c
changeset 481 c3722fff46c7
parent 475 008c75a5e08d
child 491 b18e0bf48a91
     1.1 --- a/librazor/path.c	Mon Jul 04 10:48:18 2016 +0100
     1.2 +++ b/librazor/path.c	Fri Jul 08 15:54:09 2016 +0100
     1.3 @@ -171,7 +171,8 @@
     1.4  	/*
     1.5  	 * Under MS-Windows, c:/xxx maps to a path of /c:/xxx
     1.6  	 */
     1.7 -	if (is_alpha(path[0]) && path[1] == ':' && path[2] == '/')
     1.8 +	if (is_alpha(path[0]) && path[1] == ':' &&
     1.9 +	    (path[2] == '/' || path[2] == '\\'))
    1.10  		*p++ = '/';
    1.11  #endif
    1.12