From a4b40ce9791726673cfdd0ba2e4c0625afac7407 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sun, 18 Jan 2009 14:51:29 +0000 Subject: [PATCH] fix a bug in RtlDetermineDosPathNameType_U fixes 5 kernel32 profile winetests svn path=/trunk/; revision=38893 --- reactos/lib/rtl/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/lib/rtl/path.c b/reactos/lib/rtl/path.c index 82d33b97cdb..87ecea02fc5 100644 --- a/reactos/lib/rtl/path.c +++ b/reactos/lib/rtl/path.c @@ -75,7 +75,7 @@ RtlDetermineDosPathNameType_U(PCWSTR Path) } else { - if (!Path[1] || Path[1] != L':') return RtlPathTypeRelative; /* xxx */ + if (!Path[0] || Path[1] != L':') return RtlPathTypeRelative; /* xxx */ if (IS_PATH_SEPARATOR(Path[2])) return RtlPathTypeDriveAbsolute; /* x:\xxx */ return RtlPathTypeDriveRelative; /* x:xxx */