fix a bug in RtlDetermineDosPathNameType_U

fixes 5 kernel32 profile winetests

svn path=/trunk/; revision=38893
This commit is contained in:
Christoph von Wittich 2009-01-18 14:51:29 +00:00
parent f47bbd7d27
commit a4b40ce979

View file

@ -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 */